(self)
| 817 | self.assertTrue(tzl != tzod) |
| 818 | |
| 819 | def testInequalityInvalid(self): |
| 820 | tzl = tz.tzlocal() |
| 821 | |
| 822 | self.assertTrue(tzl != 1) |
| 823 | self.assertFalse(tzl == 1) |
| 824 | |
| 825 | # TODO: Use some sort of universal local mocking so that it's clear |
| 826 | # that we're expecting tzlocal to *not* be Pacific/Kiritimati |
| 827 | LINT = tz.gettz('Pacific/Kiritimati') |
| 828 | self.assertTrue(tzl != LINT) |
| 829 | self.assertFalse(tzl == LINT) |
| 830 | |
| 831 | def testInequalityUnsupported(self): |
| 832 | tzl = tz.tzlocal() |