10000 [3.12] gh-111031: Check more files in `test_tokenize` (GH-111032) (#1… · python/cpython@40db34c · GitHub
[go: up one dir, main page]

Skip to content

Commit 40db34c

Browse 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

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Lib/test/test_tokenize.py

Lines 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