Searched refs:is_resource_enabled (Results 1 – 21 of 21) sorted by relevance
/external/python/cpython2/Lib/ctypes/test/ |
D | test_loading.py | 5 from ctypes.test import is_resource_enabled 18 if is_resource_enabled("printing"): 58 if is_resource_enabled("printing"):
|
D | test_find.py | 7 from ctypes.test import is_resource_enabled 22 if is_resource_enabled("printing"):
|
D | __init__.py | 20 def is_resource_enabled(resource): function 41 if not is_resource_enabled(resource):
|
/external/python/cpython2/Lib/test/ |
D | test_imaplib.py | 236 if support.is_resource_enabled('network'):
|
D | test_timeout.py | 7 skip_expected = not test_support.is_resource_enabled('network')
|
D | test_tokenize.py | 710 if not test_support.is_resource_enabled("cpu"):
|
D | test_compiler.py | 313 TEST_ALL = test.test_support.is_resource_enabled("cpu")
|
D | test_decimal.py | 35 is_resource_enabled, check_py3k_warnings, 2309 TEST_ALL = arith if arith is not None else is_resource_enabled('decimal')
|
D | test_ssl.py | 3184 if support.is_resource_enabled('network'):
|
/external/python/cpython3/Lib/test/ |
D | test_timeout.py | 9 skip_expected = not support.is_resource_enabled('network')
|
D | test_unparse.py | 530 if not test.support.is_resource_enabled("cpu"):
|
D | test_imaplib.py | 962 support.is_resource_enabled('network'), 'network resource disabled') 998 support.is_resource_enabled('network'), 'network resource disabled')
|
D | test_urllib2.py | 1789 @unittest.skipUnless(support.is_resource_enabled('network'),
|
D | test_decimal.py | 35 from test.support import (run_unittest, run_doctest, is_resource_enabled, 5694 TEST_ALL = arith if arith is not None else is_resource_enabled('decimal')
|
D | datetimetester.py | 23 from test.support import is_resource_enabled, ALWAYS_EQ, LARGEST, SMALLEST 5928 if is_resource_enabled('tzdata'):
|
D | test_ssl.py | 4751 if support.is_resource_enabled('network'):
|
D | test_socket.py | 1574 @unittest.skipUnless(support.is_resource_enabled('network'),
|
/external/python/cpython2/Lib/test/support/ |
D | __init__.py | 396 def is_resource_enabled(resource): function 406 if not is_resource_enabled(resource): 1470 if is_resource_enabled(resource):
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 561 def is_resource_enabled(resource): function 571 if not is_resource_enabled(resource): 1706 if is_resource_enabled(resource):
|
/external/python/cpython2/Doc/library/ |
D | test.rst | 258 .. function:: is_resource_enabled(resource)
|
/external/python/cpython3/Doc/library/ |
D | test.rst | 484 .. function:: is_resource_enabled(resource)
|