[Python-checkins] cpython: add another test case
benjamin.peterson
python-checkins at python.org
Fri Jan 20 17:01:13 CET 2012
http://hg.python.org/cpython/rev/3be60a4c8c63
changeset: 74544:3be60a4c8c63
user: Benjamin Peterson <benjamin at python.org>
date: Fri Jan 20 11:01:06 2012 -0500
summary:
add another test case
files:
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
--- 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)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list