Home
last modified time | relevance | path

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

/third_party/python/Lib/test/support/
Dimport_helper.py65 def import_module(name, deprecated=False, *, required_on=()): argument
78 if sys.platform.startswith(tuple(required_on)):
/third_party/python/Lib/test/test_importlib/
Dtest_windows.py14 import_helper.import_module('winreg', required_on=['win'])
/third_party/python/Lib/test/
Dtest_winreg.py11 import_helper.import_module('winreg', required_on=['win'])
/third_party/python/Doc/library/
Dtest.rst1527 .. function:: import_module(name, deprecated=False, *, required_on())
1535 optional for others, set *required_on* to an iterable of platform prefixes