Home
last modified time | relevance | path

Searched refs:is_resource_enabled (Results 1 – 21 of 21) sorted by relevance

/external/python/cpython2/Lib/ctypes/test/
Dtest_loading.py5 from ctypes.test import is_resource_enabled
18 if is_resource_enabled("printing"):
58 if is_resource_enabled("printing"):
Dtest_find.py7 from ctypes.test import is_resource_enabled
22 if is_resource_enabled("printing"):
D__init__.py20 def is_resource_enabled(resource): function
41 if not is_resource_enabled(resource):
/external/python/cpython3/Lib/test/test_tools/
Dtest_unparse.py284 if not test.support.is_resource_enabled("cpu"):
/external/python/cpython2/Lib/test/
Dtest_imaplib.py236 if support.is_resource_enabled('network'):
Dtest_timeout.py7 skip_expected = not test_support.is_resource_enabled('network')
Dtest_tokenize.py710 if not test_support.is_resource_enabled("cpu"):
Dtest_compiler.py313 TEST_ALL = test.test_support.is_resource_enabled("cpu")
Dtest_decimal.py35 is_resource_enabled, check_py3k_warnings,
2309 TEST_ALL = arith if arith is not None else is_resource_enabled('decimal')
Dtest_ssl.py3184 if support.is_resource_enabled('network'):
/external/python/cpython3/Lib/test/
Dtest_timeout.py8 skip_expected = not support.is_resource_enabled('network')
Dtest_imaplib.py916 support.is_resource_enabled('network'), 'network resource disabled')
951 support.is_resource_enabled('network'), 'network resource disabled')
Dtest_urllib2.py1751 @unittest.skipUnless(support.is_resource_enabled('network'),
Dtest_decimal.py35 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')
Ddatetimetester.py5 from test.support import is_resource_enabled
5667 if is_resource_enabled('tzdata'):
Dtest_ssl.py4472 if support.is_resource_enabled('network'):
Dtest_socket.py1443 @unittest.skipUnless(support.is_resource_enabled('network'),
/external/python/cpython2/Lib/test/support/
D__init__.py396 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__.py538 def is_resource_enabled(resource): function
548 if not is_resource_enabled(resource):
1809 if is_resource_enabled(resource):
/external/python/cpython2/Doc/library/
Dtest.rst258 .. function:: is_resource_enabled(resource)
/external/python/cpython3/Doc/library/
Dtest.rst405 .. function:: is_resource_enabled(resource)