(self)
| 154 | time.clock_settime, time.CLOCK_MONOTONIC, 0) |
| 155 | |
| 156 | def test_conversions(self): |
| 157 | self.assertEqual(time.ctime(self.t), |
| 158 | time.asctime(time.localtime(self.t))) |
| 159 | self.assertEqual(int(time.mktime(time.localtime(self.t))), |
| 160 | int(self.t)) |
| 161 | |
| 162 | def test_sleep_exceptions(self): |
| 163 | self.assertRaises(TypeError, time.sleep, []) |
nothing calls this directly
no test coverage detected