(self)
| 91 | "Profiling {0!r} didn't report max:\n{1}".format(stmt, res)) |
| 92 | |
| 93 | def test_run(self): |
| 94 | with silent(): |
| 95 | self.profilermodule.run("int('1')") |
| 96 | self.profilermodule.run("int('1')", filename=TESTFN) |
| 97 | self.assertTrue(os.path.exists(TESTFN)) |
| 98 | |
| 99 | def test_run_with_sort_by_values(self): |
| 100 | with redirect_stdout(StringIO()) as f: |
nothing calls this directly
no test coverage detected