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