summaryrefslogtreecommitdiff
path: root/Lib/test/test_tokenize.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-13 00:33:21 -0500
committerBenjamin Peterson <benjamin@python.org>2011-08-13 00:33:21 -0500
commit963e40256a7047c538eca88a792710c2d6d53ac5 (patch)
tree8c6dfed2ce42b5774f43a64889b2e12ad5b46fdf /Lib/test/test_tokenize.py
parentbe66287e2055cbf7bf507b0fdc76c1cd738d880d (diff)
downloadcpython-git-963e40256a7047c538eca88a792710c2d6d53ac5.tar.gz
tokenize is just broken on test_pep3131.py
Diffstat (limited to 'Lib/test/test_tokenize.py')
-rw-r--r--Lib/test/test_tokenize.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
index d30d5eed09..9e9656ced6 100644
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -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)
...