Lines Matching defs:ham
773 self.ham = ham = tmp / "ham.py"
774 ham.write_text(
792 self.assertSigInt([self.ham])
795 tmp = self.ham.parent
801 runpy.run_module("ham")
808 tmp = self.ham.parent
814 runpy._run_module_as_main("ham")
822 ["-c", "import runpy; runpy.run_module('ham')"],
823 cwd=self.ham.parent,
827 self.assertSigInt(["-c", "import ham"], cwd=self.ham.parent)
830 self.assertSigInt([], input="import ham", cwd=self.ham.parent)
833 ham = self.ham
834 self.assertSigInt(["-m", ham.stem], cwd=ham.parent)