(self)
| 337 | PYTHONPATH=zip_name, cwd=script_dir) |
| 338 | |
| 339 | def test_package(self): |
| 340 | with os_helper.temp_dir() as script_dir: |
| 341 | pkg_dir = os.path.join(script_dir, 'test_pkg') |
| 342 | make_pkg(pkg_dir) |
| 343 | script_name = _make_test_script(pkg_dir, '__main__') |
| 344 | self._check_script(["-m", "test_pkg"], script_name, |
| 345 | script_name, script_dir, 'test_pkg', |
| 346 | importlib.machinery.SourceFileLoader, |
| 347 | cwd=script_dir) |
| 348 | |
| 349 | def test_package_compiled(self): |
| 350 | with os_helper.temp_dir() as script_dir: |
nothing calls this directly
no test coverage detected