summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-08-13 05:33:21 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-08-13 05:33:21 (GMT)
commit963e40256a7047c538eca88a792710c2d6d53ac5 (patch)
tree8c6dfed2ce42b5774f43a64889b2e12ad5b46fdf
parentbe66287e2055cbf7bf507b0fdc76c1cd738d880d (diff)
downloadcpython-963e40256a7047c538eca88a792710c2d6d53ac5.zip
cpython-963e40256a7047c538eca88a792710c2d6d53ac5.tar.gz
cpython-963e40256a7047c538eca88a792710c2d6d53ac5.tar.bz2
tokenize is just broken on test_pep3131.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 d30d5ee..9e9656c 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)
...