diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-01-19 17:46:13 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-01-19 17:46:13 -0500 |
commit | cff9237d57dca37c6194148ae4c157452d269764 (patch) | |
tree | 48d4e2aa708966f1d1b7311cbaff728b9048c379 /Lib | |
parent | 6a7b855a97c57f26d4786a9003757e39a43b322e (diff) | |
download | cpython-git-cff9237d57dca37c6194148ae4c157452d269764.tar.gz |
check after comments, too (#13832)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_compile.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_compile.py b/Lib/test/test_compile.py index 7089872ee2..58b3203a9b 100644 --- a/Lib/test/test_compile.py +++ b/Lib/test/test_compile.py @@ -470,6 +470,8 @@ if 1: self.assertInvalidSingle('a = 13\nb = 187') self.assertInvalidSingle('del x\ndel y') self.assertInvalidSingle('f()\ng()') + self.assertInvalidSingle('f()\n# blah\nblah()') + self.assertInvalidSingle('f()\nxy # blah\nblah()') def test_main(): support.run_unittest(TestSpecifics) |