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

Commit 40db34c

Browse filesBrowse files
[3.12] gh-111031: Check more files in test_tokenize (GH-111032) (#111061)
gh-111031: Check more files in `test_tokenize` (GH-111032) (cherry picked from commit e9b5399) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
1 parent e37d56e commit 40db34c
Copy full SHA for 40db34c

File tree

Expand file treeCollapse file tree

1 file changed

+0
-10
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-10
lines changed

‎Lib/test/test_tokenize.py

Copy file name to clipboardExpand all lines: Lib/test/test_tokenize.py
-10Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1898,19 +1898,9 @@ def test_random_files(self):
18981898
tempdir = os.path.dirname(__file__) or os.curdir
18991899
testfiles = glob.glob(os.path.join(glob.escape(tempdir), "test*.py"))
19001900

1901-
# Tokenize is broken on test_pep3131.py because regular expressions are
1902-
# broken on the obscure unicode identifiers in it. *sigh*
1903-
# With roundtrip extended to test the 5-tuple mode of untokenize,
1904-
# 7 more testfiles fail. Remove them also until the failure is diagnosed.
1905-
1906-
testfiles.remove(os.path.join(tempdir, "test_unicode_identifiers.py"))
1907-
19081901
# TODO: Remove this once we can untokenize PEP 701 syntax
19091902
testfiles.remove(os.path.join(tempdir, "test_fstring.py"))
19101903

1911-
for f in ('buffer', 'builtin', 'fileio', 'os', 'platform', 'sys'):
1912-
testfiles.remove(os.path.join(tempdir, "test_%s.py") % f)
1913-
19141904
if not support.is_resource_enabled("cpu"):
19151905
testfiles = random.sample(testfiles, 10)
19161906

0 commit comments

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