commit | 77fc1f3c066e244768faa37b52db7415906251f3 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Fri Jan 20 11:01:06 2012 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Fri Jan 20 11:01:06 2012 -0500 |
tree | 2dd2b483fa70c2f4cb5156a465cd4fa690f15837 | |
parent | d6d2cd2632b170ce2b47c6ee3600a5fb077bf7d3 [diff] [blame] |
add another test case
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 58b3203..72342f8 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py
@@ -472,6 +472,7 @@ self.assertInvalidSingle('f()\ng()') self.assertInvalidSingle('f()\n# blah\nblah()') self.assertInvalidSingle('f()\nxy # blah\nblah()') + self.assertInvalidSingle('x = 5 # comment\nx = 6\n') def test_main(): support.run_unittest(TestSpecifics)