summaryrefslogtreecommitdiff
path: root/Lib/test/test_parser.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-11-12 23:39:44 +0000
committerBenjamin Peterson <benjamin@python.org>2009-11-12 23:39:44 +0000
commite36199b49df77c96bad687c6681d8e54c5053b84 (patch)
tree81b9aaa74f92b9de459ede5dc6ed2ca4ec508998 /Lib/test/test_parser.py
parentc4cd6d3765d054ac1b23f0f9765a2eaf3f1e7be7 (diff)
downloadcpython-git-e36199b49df77c96bad687c6681d8e54c5053b84.tar.gz
fix several compile() issues by translating newlines in the tokenizer
Diffstat (limited to 'Lib/test/test_parser.py')
-rw-r--r--Lib/test/test_parser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_parser.py b/Lib/test/test_parser.py
index 7d059c20f2..ad5c5be35a 100644
--- a/Lib/test/test_parser.py
+++ b/Lib/test/test_parser.py
@@ -243,9 +243,9 @@ class RoundtripLegalSyntaxTestCase(unittest.TestCase):
(14, '+', 2, 13),
(2, '1', 2, 15),
(4, '', 2, 16),
- (6, '', 2, -1),
- (4, '', 2, -1),
- (0, '', 2, -1)],
+ (6, '', 3, -1),
+ (4, '', 3, -1),
+ (0, '', 3, -1)],
terminals)