From: Benjamin Peterson Date: Fri, 20 Jan 2012 16:01:06 +0000 (-0500) Subject: add another test case X-Git-Tag: v3.3.0a1~329 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77fc1f3c066e244768faa37b52db7415906251f3;p=thirdparty%2FPython%2Fcpython.git add another test case --- diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 58b3203a9b32..72342f87fd78 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)