Show More
@@ -215,6 +215,8 def test_check_complete(): | |||
|
215 | 215 | nt.assert_equal(cc("def a():\n x=1\n global x"), ('invalid', None)) |
|
216 | 216 | nt.assert_equal(cc("a \\ "), ('invalid', None)) # Nothing allowed after backslash |
|
217 | 217 | nt.assert_equal(cc("1\\\n+2"), ('complete', None)) |
|
218 | nt.assert_equal(cc("1\\\n+2"), ('complete', None)) | |
|
219 | nt.assert_equal(cc("exit"), ('complete', None)) | |
|
218 | 220 | |
|
219 | 221 | example = dedent(""" |
|
220 | 222 | if True: |
General Comments 0
You need to be logged in to leave comments.
Login now