summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_exceptions.py
diff options
context:
space:
mode:
authorLysandros Nikolaou <lisandrosnik@gmail.com>2023-10-12 07:34:35 (GMT)
committerGitHub <noreply@github.com>2023-10-12 07:34:35 (GMT)
commit17d65547df55eaefe077c45242a7f2d175961dfd (patch)
tree008f24ce995cd5e0a88f35bba06c8ea7ad76f19b /Lib/test/test_exceptions.py
parent23645420dcc4f3b7b2ec4045ef6ac126c37a98c2 (diff)
downloadcpython-17d65547df55eaefe077c45242a7f2d175961dfd.zip
cpython-17d65547df55eaefe077c45242a7f2d175961dfd.tar.gz
cpython-17d65547df55eaefe077c45242a7f2d175961dfd.tar.bz2
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.
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r--Lib/test/test_exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py
index 106baf9..05a89e7 100644
--- a/Lib/test/test_exceptions.py
+++ b/Lib/test/test_exceptions.py
@@ -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)