diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-01-20 16:01:06 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-01-20 16:01:06 (GMT) |
commit | 77fc1f3c066e244768faa37b52db7415906251f3 (patch) | |
tree | 2dd2b483fa70c2f4cb5156a465cd4fa690f15837 /Lib/test/test_compile.py | |
parent | d6d2cd2632b170ce2b47c6ee3600a5fb077bf7d3 (diff) | |
download | cpython-77fc1f3c066e244768faa37b52db7415906251f3.zip cpython-77fc1f3c066e244768faa37b52db7415906251f3.tar.gz cpython-77fc1f3c066e244768faa37b52db7415906251f3.tar.bz2 |
add another test case
Diffstat (limited to 'Lib/test/test_compile.py')
-rw-r--r-- | Lib/test/test_compile.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ if 1: 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) |