(self)
| 671 | @pytest.mark.tzoffset |
| 672 | class TzOffsetTest(unittest.TestCase): |
| 673 | def testTimedeltaOffset(self): |
| 674 | est = tz.tzoffset('EST', timedelta(hours=-5)) |
| 675 | est_s = tz.tzoffset('EST', -18000) |
| 676 | |
| 677 | self.assertEqual(est, est_s) |
| 678 | |
| 679 | def testTzNameNone(self): |
| 680 | gmt5 = tz.tzoffset(None, -18000) # -5:00 |