(self)
| 689 | @pytest.mark.tzoffset |
| 690 | class TzOffsetTest(unittest.TestCase): |
| 691 | def testTimedeltaOffset(self): |
| 692 | est = tz.tzoffset('EST', timedelta(hours=-5)) |
| 693 | est_s = tz.tzoffset('EST', -18000) |
| 694 | |
| 695 | self.assertEqual(est, est_s) |
| 696 | |
| 697 | def testTzNameNone(self): |
| 698 | gmt5 = tz.tzoffset(None, -18000) # -5:00 |