summaryrefslogtreecommitdiff
path: root/Lib/test/test_tokenize.py
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-10-14 15:34:31 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2010-10-14 15:34:31 +0000
commit5bc4fa7a4947a39cbfdd3dd2ea1019bfa0f93085 (patch)
tree2b4e69f9b4e1f13c81b2babc3e5462438b7f7d41 /Lib/test/test_tokenize.py
parent3fbfea1fae509bebf89728c7f8c61b39ab69e489 (diff)
downloadcpython-git-5bc4fa7a4947a39cbfdd3dd2ea1019bfa0f93085.tar.gz
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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
index 4a82229e4d..3f45d9c5d8 100644
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -514,13 +514,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.
>>> import random
>>> tempdir = os.path.dirname(f) or os.curdir
>>> testfiles = glob.glob(os.path.join(tempdir, "test*.py"))
- >>> if not support.is_resource_enabled("compiler"):
+ >>> if not support.is_resource_enabled("cpu"):
... testfiles = random.sample(testfiles, 10)
...
>>> for testfile in testfiles: