Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

We can now untokenize PEP 701 syntax, test_tokenize needs an update #111031

Copy link
Copy link
Closed
@sobolevn

Description

@sobolevn
Issue body actions

Bug report

It states:

# 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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.