Rename test_pep####.py files
This commit is contained in:
parent
a0154c0f0e
commit
724f6a67f2
|
@ -1529,12 +1529,13 @@ class TestRoundtrip(TestCase):
|
||||||
tempdir = os.path.dirname(fn) or os.curdir
|
tempdir = os.path.dirname(fn) or os.curdir
|
||||||
testfiles = glob.glob(os.path.join(tempdir, "test*.py"))
|
testfiles = glob.glob(os.path.join(tempdir, "test*.py"))
|
||||||
|
|
||||||
# Tokenize is broken on test_pep3131.py because regular expressions are
|
# Tokenize is broken on test_unicode_identifiers.py because regular
|
||||||
# broken on the obscure unicode identifiers in it. *sigh*
|
# expressions are broken on the obscure unicode identifiers in it.
|
||||||
# With roundtrip extended to test the 5-tuple mode of untokenize,
|
# *sigh* With roundtrip extended to test the 5-tuple mode of
|
||||||
# 7 more testfiles fail. Remove them also until the failure is diagnosed.
|
# untokenize, 7 more testfiles fail. Remove them also until the
|
||||||
|
# failure is diagnosed.
|
||||||
|
|
||||||
testfiles.remove(os.path.join(tempdir, "test_pep3131.py"))
|
testfiles.remove(os.path.join(tempdir, "test_unicode_identifiers.py"))
|
||||||
for f in ('buffer', 'builtin', 'fileio', 'inspect', 'os', 'platform', 'sys'):
|
for f in ('buffer', 'builtin', 'fileio', 'inspect', 'os', 'platform', 'sys'):
|
||||||
testfiles.remove(os.path.join(tempdir, "test_%s.py") % f)
|
testfiles.remove(os.path.join(tempdir, "test_%s.py") % f)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue