aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/support.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/support.py')
-rw-r--r--Lib/test/support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py
index 34005e857eb..842cda6c349 100644
--- a/Lib/test/support.py
+++ b/Lib/test/support.py
@@ -873,7 +873,7 @@ def _id(obj):
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))