(self)
| 2356 | @cpython_only |
| 2357 | @unittest.skipIf(_testinternalcapi is None, "requires _testinternalcapi") |
| 2358 | def test_frozen_compat(self): |
| 2359 | module = '_frozen_importlib' |
| 2360 | require_frozen(module, skip=True) |
| 2361 | if __import__(module).__spec__.origin != 'frozen': |
| 2362 | raise unittest.SkipTest(f'{module} is unexpectedly not frozen') |
| 2363 | if not Py_GIL_DISABLED: |
| 2364 | with self.subTest(f'{module}: not strict'): |
| 2365 | self.check_compatible_here(module, strict=False) |
| 2366 | with self.subTest(f'{module}: strict, not fresh'): |
| 2367 | self.check_compatible_here(module, strict=True) |
| 2368 | |
| 2369 | @requires_singlephase_init |
| 2370 | def test_single_init_extension_compat(self): |
nothing calls this directly
no test coverage detected