(self)
| 102 | self.assertIn("Ordered by: internal time, standard name", f.getvalue()) |
| 103 | |
| 104 | def test_runctx(self): |
| 105 | with silent(): |
| 106 | self.profilermodule.runctx("testfunc()", globals(), locals()) |
| 107 | self.profilermodule.runctx("testfunc()", globals(), locals(), |
| 108 | filename=TESTFN) |
| 109 | self.assertTrue(os.path.exists(TESTFN)) |
| 110 | |
| 111 | def test_run_profile_as_module(self): |
| 112 | # Test that -m switch needs an argument |
nothing calls this directly
no test coverage detected