(self)
| 445 | timezone(delta) |
| 446 | |
| 447 | def test_comparison_with_tzinfo(self): |
| 448 | # Constructing tzinfo objects directly should not be done by users |
| 449 | # and serves only to check the bug described in bpo-37915 |
| 450 | self.assertNotEqual(timezone.utc, tzinfo()) |
| 451 | self.assertNotEqual(timezone(timedelta(hours=1)), tzinfo()) |
| 452 | |
| 453 | ############################################################################# |
| 454 | # Base class for testing a particular aspect of timedelta, time, date and |
nothing calls this directly
no test coverage detected