(self, *args)
| 442 | |
| 443 | @contextlib.contextmanager |
| 444 | def setup_test_pkg(self, *args): |
| 445 | with os_helper.temp_dir() as script_dir, \ |
| 446 | os_helper.change_cwd(path=script_dir): |
| 447 | pkg_dir = os.path.join(script_dir, 'test_pkg') |
| 448 | make_pkg(pkg_dir, *args) |
| 449 | yield pkg_dir |
| 450 | |
| 451 | def check_dash_m_failure(self, *args): |
| 452 | rc, out, err = assert_python_failure('-m', *args, __isolated=False) |
no test coverage detected