Home
last modified time | relevance | path

Searched refs:required_on (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_windows.py13 support.import_module('winreg', required_on=['win'])
/external/python/cpython3/Lib/test/
Dtest_winreg.py11 support.import_module('winreg', required_on=['win'])
/external/python/cpython3/Lib/test/support/
D__init__.py147 def import_module(name, deprecated=False, *, required_on=()): argument
160 if sys.platform.startswith(tuple(required_on)):
/external/python/cpython3/Doc/library/
Dtest.rst953 .. function:: import_module(name, deprecated=False, *, required_on())
961 optional for others, set *required_on* to an iterable of platform prefixes