Replace the "compiler" resource with the more generic "cpu", so
as to mark CPU-heavy tests.
diff --git a/Lib/test/test_tokenize.py b/Lib/test/test_tokenize.py
index 4a82229..3f45d9c 100644
--- a/Lib/test/test_tokenize.py
+++ b/Lib/test/test_tokenize.py
@@ -514,13 +514,13 @@
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: