mirror of
https://github.com/python/cpython.git
synced 2025-09-17 06:06:25 +00:00
fix several compile() issues by translating newlines in the tokenizer
This commit is contained in:
parent
c4cd6d3765
commit
e36199b49d
8 changed files with 96 additions and 30 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue