(self)
| 871 | self.assertSigInt([run_module_as_main], cwd=tmp) |
| 872 | |
| 873 | def test_pymain_run_command_run_module(self): |
| 874 | self.assertSigInt( |
| 875 | ["-c", "import runpy; runpy.run_module('ham')"], |
| 876 | cwd=self.ham.parent, |
| 877 | ) |
| 878 | |
| 879 | def test_pymain_run_command(self): |
| 880 | self.assertSigInt(["-c", "import ham"], cwd=self.ham.parent) |
nothing calls this directly
no test coverage detected