(self)
| 656 | |
| 657 | @support.requires_IEEE_754 |
| 658 | def test_disallowed_special(self): |
| 659 | a = timedelta(42) |
| 660 | self.assertRaises(ValueError, a.__mul__, NAN) |
| 661 | self.assertRaises(ValueError, a.__truediv__, NAN) |
| 662 | |
| 663 | def test_basic_attributes(self): |
| 664 | days, seconds, us = 1, 7, 31 |
nothing calls this directly
no test coverage detected