commit | 5bc4fa7a4947a39cbfdd3dd2ea1019bfa0f93085 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Thu Oct 14 15:34:31 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Thu Oct 14 15:34:31 2010 +0000 |
tree | 2b4e69f9b4e1f13c81b2babc3e5462438b7f7d41 | |
parent | 3fbfea1fae509bebf89728c7f8c61b39ab69e489 [diff] [blame] |
Replace the "compiler" resource with the more generic "cpu", so as to mark CPU-heavy tests.
diff --git a/Lib/test/support.py b/Lib/test/support.py index 1f69317..e48f2b3 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py
@@ -1046,7 +1046,7 @@ return obj def requires_resource(resource): - if resource_is_enabled(resource): + if is_resource_enabled(resource): return _id else: return unittest.skip("resource {0!r} is not enabled".format(resource))