Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 963e402

Browse files
committed
tokenize is just broken on test_pep3131.py
1 parent be66287 commit 963e402

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lib/test/test_tokenize.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,9 @@
520520
>>> tempdir = os.path.dirname(f) or os.curdir
521521
>>> testfiles = glob.glob(os.path.join(tempdir, "test*.py"))
522522
523+
tokenize is broken on test_pep3131.py because regular expressions are broken on
524+
the obscure unicode identifiers in it. *sigh*
525+
>>> testfiles.remove(os.path.join(tempdir, "test_pep3131.py"))
523526
>>> if not support.is_resource_enabled("cpu"):
524527
... testfiles = random.sample(testfiles, 10)
525528
...

0 commit comments

Comments
 (0)