(self)
| 736 | self.assertEqual(tzo, ComparesEqual) |
| 737 | |
| 738 | def testAmbiguity(self): |
| 739 | # Pick an arbitrary datetime, this should always return False. |
| 740 | dt = datetime(2011, 9, 1, 2, 30, tzinfo=tz.tzoffset("EST", -5 * 3600)) |
| 741 | |
| 742 | self.assertFalse(tz.datetime_ambiguous(dt)) |
| 743 | |
| 744 | def testTzOffsetInstance(self): |
| 745 | tz1 = tz.tzoffset.instance('EST', timedelta(hours=-5)) |