diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-14 15:43:25 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-10-14 15:43:25 +0000 |
commit | d989f820c880e7dff16293f6d2861330b5019130 (patch) | |
tree | 7f87e5e2c2ba73991c20ae7f4fd7e72384c318d2 /Lib/test/test_tokenize.py | |
parent | 9a4acdf4a5a33e85e880de094ae7d5b0786634c8 (diff) | |
download | cpython-git-d989f820c880e7dff16293f6d2861330b5019130.tar.gz |
Merged revisions 85482 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85482 | antoine.pitrou | 2010-10-14 17:34:31 +0200 (jeu., 14 oct. 2010) | 4 lines
Replace the "compiler" resource with the more generic "cpu", so
as to mark CPU-heavy tests.
........
Diffstat (limited to 'Lib/test/test_tokenize.py')
-rw-r--r-- | Lib/test/test_tokenize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py index b945d618b5..38da106cb6 100644 --- a/Lib/test/test_tokenize.py +++ b/Lib/test/test_tokenize.py @@ -493,13 +493,13 @@ Two string literals on the same line True Test roundtrip on random python modules. -pass the '-ucompiler' option to process the full directory. +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")) - >>> if not test_support.is_resource_enabled("compiler"): + >>> if not test_support.is_resource_enabled("cpu"): ... testfiles = random.sample(testfiles, 10) ... >>> for testfile in testfiles: |