(self)
| 699 | script_dir, mod_name=mod_name) |
| 700 | |
| 701 | def test_directory_compiled(self): |
| 702 | with temp_dir() as script_dir: |
| 703 | mod_name = '__main__' |
| 704 | script_name = self._make_test_script(script_dir, mod_name) |
| 705 | legacy_pyc = make_legacy_pyc(script_name, allow_compile=True) |
| 706 | os.remove(script_name) |
| 707 | self._check_script(script_dir, "<run_path>", legacy_pyc, |
| 708 | script_dir, mod_name=mod_name) |
| 709 | |
| 710 | def test_directory_error(self): |
| 711 | with temp_dir() as script_dir: |
nothing calls this directly
no test coverage detected