(self)
| 718 | self.assertEqual(tzo, ComparesEqual) |
| 719 | |
| 720 | def testAmbiguity(self): |
| 721 | # Pick an arbitrary datetime, this should always return False. |
| 722 | dt = datetime(2011, 9, 1, 2, 30, tzinfo=tz.tzoffset("EST", -5 * 3600)) |
| 723 | |
| 724 | self.assertFalse(tz.datetime_ambiguous(dt)) |
| 725 | |
| 726 | def testTzOffsetInstance(self): |
| 727 | tz1 = tz.tzoffset.instance('EST', timedelta(hours=-5)) |