(self)
| 2455 | |
| 2456 | @unittest.skipIf(_testinternalcapi is None, "requires _testinternalcapi") |
| 2457 | def test_python_compat(self): |
| 2458 | module = 'threading' |
| 2459 | require_pure_python(module) |
| 2460 | if not Py_GIL_DISABLED: |
| 2461 | with self.subTest(f'{module}: not strict'): |
| 2462 | self.check_compatible_here(module, strict=False) |
| 2463 | with self.subTest(f'{module}: strict, not fresh'): |
| 2464 | self.check_compatible_here(module, strict=True) |
| 2465 | with self.subTest(f'{module}: strict, fresh'): |
| 2466 | self.check_compatible_fresh(module, strict=True) |
| 2467 | |
| 2468 | @requires_singlephase_init |
| 2469 | def test_singlephase_check_with_setting_and_override(self): |
nothing calls this directly
no test coverage detected