equal datetimes.
(self)
| 21 | self.oneyear = datetime.timedelta(days=366) |
| 22 | |
| 23 | def test_equal_datetimes(self): |
| 24 | """equal datetimes.""" |
| 25 | # NOTE: \xa0 avoids wrapping between value and unit |
| 26 | self.assertEqual(timesince(self.t, self.t), "0\xa0minutes") |
| 27 | |
| 28 | def test_ignore_microseconds_and_seconds(self): |
| 29 | """Microseconds and seconds are ignored.""" |
nothing calls this directly
no test coverage detected