Skip to content

Commit 45944b9

Browse files
committed
Address review
1 parent a82df84 commit 45944b9

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

Lib/test/test_tokenize.py

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,15 +1901,8 @@ def test_random_files(self):
19011901
tempdir = os.path.dirname(__file__) or os.curdir
19021902
testfiles = glob.glob(os.path.join(glob.escape(tempdir), "test*.py"))
19031903

1904-
# Tokenize is broken on test_pep3131.py because regular expressions are
1905-
# broken on the obscure unicode identifiers in it. *sigh*
1906-
# With roundtrip extended to test the 5-tuple mode of untokenize,
1907-
# 7 more testfiles fail. Remove them also until the failure is diagnosed.
1908-
1909-
testfiles.remove(os.path.join(tempdir, "test_unicode_identifiers.py"))
1910-
1911-
for f in ('buffer', 'builtin', 'fileio', 'os', 'platform', 'sys'):
1912-
testfiles.remove(os.path.join(tempdir, "test_%s.py") % f)
1904+
# TODO: Remove this once we can untokenize PEP 701 syntax
1905+
testfiles.remove(os.path.join(tempdir, "test_fstring.py"))
19131906

19141907
if not support.is_resource_enabled("cpu"):
19151908
testfiles = random.sample(testfiles, 10)

0 commit comments

Comments
 (0)