(self)
| 723 | mod_name=mod_name, check_loader=False) |
| 724 | |
| 725 | def test_zipfile_compiled(self): |
| 726 | with temp_dir() as script_dir: |
| 727 | mod_name = '__main__' |
| 728 | script_name = self._make_test_script(script_dir, mod_name) |
| 729 | compiled_name = script_name + 'c' |
| 730 | py_compile.compile(script_name, compiled_name, doraise=True) |
| 731 | zip_name, fname = make_zip_script(script_dir, 'test_zip', |
| 732 | compiled_name) |
| 733 | self._check_script(zip_name, "<run_path>", fname, zip_name, |
| 734 | mod_name=mod_name, check_loader=False) |
| 735 | |
| 736 | def test_zipfile_error(self): |
| 737 | with temp_dir() as script_dir: |
nothing calls this directly
no test coverage detected