(self)
| 59 | self.assertEqual(duration_iso_string(duration), "P0DT01H03M05.012345S") |
| 60 | |
| 61 | def test_negative(self): |
| 62 | duration = -1 * datetime.timedelta(days=1, hours=1, minutes=3, seconds=5) |
| 63 | self.assertEqual(duration_iso_string(duration), "-P1DT01H03M05S") |
| 64 | |
| 65 | |
| 66 | class TestParseISODurationRoundtrip(unittest.TestCase): |
nothing calls this directly
no test coverage detected