Show More
@@ -260,7 +260,7 b' def test_check_complete():' | |||||
260 | nt.assert_equal(cc("for a in range(5):\n if a > 0:"), ('incomplete', 8)) |
|
260 | nt.assert_equal(cc("for a in range(5):\n if a > 0:"), ('incomplete', 8)) | |
261 | nt.assert_equal(cc("raise = 2"), ('invalid', None)) |
|
261 | nt.assert_equal(cc("raise = 2"), ('invalid', None)) | |
262 | nt.assert_equal(cc("a = [1,\n2,"), ('incomplete', 0)) |
|
262 | nt.assert_equal(cc("a = [1,\n2,"), ('incomplete', 0)) | |
263 | nt.assert_equal(cc(")"), ('incomplete', 0)) |
|
263 | nt.assert_equal(cc("(\n))"), ('incomplete', 0)) | |
264 | nt.assert_equal(cc("\\\r\n"), ('incomplete', 0)) |
|
264 | nt.assert_equal(cc("\\\r\n"), ('incomplete', 0)) | |
265 | nt.assert_equal(cc("a = '''\n hi"), ('incomplete', 3)) |
|
265 | nt.assert_equal(cc("a = '''\n hi"), ('incomplete', 3)) | |
266 | nt.assert_equal(cc("def a():\n x=1\n global x"), ('invalid', None)) |
|
266 | nt.assert_equal(cc("def a():\n x=1\n global x"), ('invalid', None)) |
General Comments 0
You need to be logged in to leave comments.
Login now