[Python-checkins] cpython (3.2): tokenize is just broken on test_pep3131.py

benjamin.peterson python-checkins at python.org
Sat Aug 13 07:33:39 CEST 2011


http://hg.python.org/cpython/rev/c13abed5d764
changeset:   71853:c13abed5d764
branch:      3.2
parent:      71851:3e9c882808b3
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Aug 13 00:33:21 2011 -0500
summary:
  tokenize is just broken on test_pep3131.py

files:
  Lib/test/test_tokenize.py |  3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -520,6 +520,9 @@
     >>> 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)
     ...

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list