Commit 963e4025 authored by Benjamin Peterson's avatar Benjamin Peterson

tokenize is just broken on test_pep3131.py

parent be66287e
......@@ -520,6 +520,9 @@ pass the '-ucpu' option to process the full directory.
>>> tempdir = os.path.dirname(f) or os.curdir
>>> testfiles = glob.glob(os.path.join(tempdir, "test*.py"))
tokenize is broken on test_pep3131.py because regular expressions are broken on
the obscure unicode identifiers in it. *sigh*
>>> testfiles.remove(os.path.join(tempdir, "test_pep3131.py"))
>>> if not support.is_resource_enabled("cpu"):
... testfiles = random.sample(testfiles, 10)
...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment