Searched refs:is_resource_enabled (Results 1 – 21 of 21) sorted by relevance
5 from ctypes.test import is_resource_enabled18 if is_resource_enabled("printing"):58 if is_resource_enabled("printing"):
7 from ctypes.test import is_resource_enabled22 if is_resource_enabled("printing"):
20 def is_resource_enabled(resource): function41 if not is_resource_enabled(resource):
284 if not test.support.is_resource_enabled("cpu"):
236 if support.is_resource_enabled('network'):
7 skip_expected = not test_support.is_resource_enabled('network')
710 if not test_support.is_resource_enabled("cpu"):
313 TEST_ALL = test.test_support.is_resource_enabled("cpu")
35 is_resource_enabled, check_py3k_warnings,2309 TEST_ALL = arith if arith is not None else is_resource_enabled('decimal')
3184 if support.is_resource_enabled('network'):
8 skip_expected = not support.is_resource_enabled('network')
916 support.is_resource_enabled('network'), 'network resource disabled')951 support.is_resource_enabled('network'), 'network resource disabled')
1751 @unittest.skipUnless(support.is_resource_enabled('network'),
35 from test.support import (run_unittest, run_doctest, is_resource_enabled,5654 TEST_ALL = arith if arith is not None else is_resource_enabled('decimal')
5 from test.support import is_resource_enabled5667 if is_resource_enabled('tzdata'):
4472 if support.is_resource_enabled('network'):
1443 @unittest.skipUnless(support.is_resource_enabled('network'),
396 def is_resource_enabled(resource): function406 if not is_resource_enabled(resource):1470 if is_resource_enabled(resource):
538 def is_resource_enabled(resource): function548 if not is_resource_enabled(resource):1809 if is_resource_enabled(resource):
258 .. function:: is_resource_enabled(resource)
405 .. function:: is_resource_enabled(resource)