Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d2cd2 commit 77fc1f3Copy full SHA for 77fc1f3
1 file changed
Lib/test/test_compile.py
@@ -472,6 +472,7 @@ def test_bad_single_statement(self):
472
self.assertInvalidSingle('f()\ng()')
473
self.assertInvalidSingle('f()\n# blah\nblah()')
474
self.assertInvalidSingle('f()\nxy # blah\nblah()')
475
+ self.assertInvalidSingle('x = 5 # comment\nx = 6\n')
476
477
def test_main():
478
support.run_unittest(TestSpecifics)
0 commit comments