MCPcopy Create free account
hub / github.com/python/cpython / test_isolated_config

Method test_isolated_config

Lib/test/test_import/__init__.py:2504–2510  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2502
2503 @unittest.skipIf(_testinternalcapi is None, "requires _testinternalcapi")
2504 def test_isolated_config(self):
2505 module = 'threading'
2506 require_pure_python(module)
2507 with self.subTest(f'{module}: strict, not fresh'):
2508 self.check_compatible_here(module, strict=True, isolated=True)
2509 with self.subTest(f'{module}: strict, fresh'):
2510 self.check_compatible_fresh(module, strict=True, isolated=True)
2511
2512 @requires_subinterpreters
2513 @requires_singlephase_init

Callers

nothing calls this directly

Calls 4

check_compatible_hereMethod · 0.95
require_pure_pythonFunction · 0.85
subTestMethod · 0.45

Tested by

no test coverage detected