(self)
| 134 | sys.monitoring.use_tool_id(TEST_TOOL3, "test3 " + self.__class__.__name__) |
| 135 | |
| 136 | def tearDown(self): |
| 137 | # Check that test hasn't left monitoring on. |
| 138 | for tool in range(6): |
| 139 | self.assertEqual(sys.monitoring.get_events(tool), 0) |
| 140 | sys.monitoring.free_tool_id(TEST_TOOL) |
| 141 | sys.monitoring.free_tool_id(TEST_TOOL2) |
| 142 | sys.monitoring.free_tool_id(TEST_TOOL3) |
| 143 | |
| 144 | |
| 145 | class MonitoringCountTest(MonitoringTestBase, unittest.TestCase): |
nothing calls this directly
no test coverage detected