mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
gh-104169: Fix test_peg_generator after tokenizer refactoring (#110727)
* Fix test_peg_generator after tokenizer refactoring * Remove references to tokenizer.c in comments etc.
This commit is contained in:
parent
23645420dc
commit
17d65547df
10 changed files with 24 additions and 14 deletions
|
@ -253,7 +253,7 @@ class ExceptionTests(unittest.TestCase):
|
|||
check('try:\n pass\nexcept*:\n pass', 3, 8)
|
||||
check('try:\n pass\nexcept*:\n pass\nexcept* ValueError:\n pass', 3, 8)
|
||||
|
||||
# Errors thrown by tokenizer.c
|
||||
# Errors thrown by the tokenizer
|
||||
check('(0x+1)', 1, 3)
|
||||
check('x = 0xI', 1, 6)
|
||||
check('0010 + 2', 1, 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue