(cls)
| 300 | class TestLauncher(unittest.TestCase, RunPyMixin): |
| 301 | @classmethod |
| 302 | def setUpClass(cls): |
| 303 | with winreg.CreateKey(winreg.HKEY_CURRENT_USER, rf"Software\Python") as key: |
| 304 | create_registry_data(key, TEST_DATA) |
| 305 | |
| 306 | if support.verbose: |
| 307 | p = subprocess.check_output("reg query HKCU\\Software\\Python /s") |
| 308 | #print(p.decode('mbcs')) |
| 309 | |
| 310 | cls._ini_dir = tempfile.mkdtemp() |
| 311 | cls.addClassCleanup(shutil.rmtree, cls._ini_dir, ignore_errors=True) |
| 312 | |
| 313 | @classmethod |
| 314 | def tearDownClass(cls): |
nothing calls this directly
no test coverage detected