-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Closed
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
It states:
cpython/Lib/test/test_tokenize.py
Lines 1911 to 1912 in baefbb2
| # TODO: Remove this once we can untokenize PEP 701 syntax | |
| testfiles.remove(os.path.join(tempdir, "test_fstring.py")) |
But, it works now 🎉
So, I guess we need to test f strings now, since it is an important part of Python's syntax.
Before:
» ./python.exe -m test test_tokenize
Using random seed 465266543
0:00:00 load avg: 2.63 Run 1 test sequentially
0:00:00 load avg: 2.63 [1/1] test_tokenize
== Tests result: SUCCESS ==
1 test OK.
Total duration: 857 ms
Total tests: run=107
Total test files: run=1/1
Result: SUCCESS
After:
» ./python.exe -m test test_tokenize
Using random seed 1341397923
0:00:00 load avg: 2.58 Run 1 test sequentially
0:00:00 load avg: 2.58 [1/1] test_tokenize
== Tests result: SUCCESS ==
1 test OK.
Total duration: 1.2 sec
Total tests: run=107
Total test files: run=1/1
Result: SUCCESS
Linked PRs
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)testsTests in the Lib/test dirTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error