]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
tokenize is just broken on test_pep3131.py
authorBenjamin Peterson <benjamin@python.org>
Sat, 13 Aug 2011 05:33:21 +0000 (00:33 -0500)
committerBenjamin Peterson <benjamin@python.org>
Sat, 13 Aug 2011 05:33:21 +0000 (00:33 -0500)
Lib/test/test_tokenize.py

index d30d5eed094cc39539ce9c48efd69d2d4da99625..9e9656ced60a46938dd1b1381226c9af944eb020 100644 (file)
@@ -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)
     ...