(self)
| 4229 | stdout) |
| 4230 | |
| 4231 | def test_nonexistent_module(self): |
| 4232 | assert not os.path.exists(os_helper.TESTFN) |
| 4233 | stdout, stderr = self._run_pdb(["-m", os_helper.TESTFN], "", expected_returncode=1) |
| 4234 | self.assertIn(f"ImportError: No module named {os_helper.TESTFN}", stdout) |
| 4235 | |
| 4236 | def test_dir_as_script(self): |
| 4237 | with os_helper.temp_dir() as temp_dir: |