mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-45060: Get rid of few uses of the equality operators with None (GH-28087)
This commit is contained in:
parent
08767c73b5
commit
3c65457156
9 changed files with 13 additions and 13 deletions
|
|
@ -344,7 +344,7 @@ class TestTimeZone(unittest.TestCase):
|
|||
with self.assertRaises(TypeError): timezone(ZERO) < timezone(ZERO)
|
||||
self.assertIn(timezone(ZERO), {timezone(ZERO)})
|
||||
self.assertTrue(timezone(ZERO) != None)
|
||||
self.assertFalse(timezone(ZERO) == None)
|
||||
self.assertFalse(timezone(ZERO) == None)
|
||||
|
||||
tz = timezone(ZERO)
|
||||
self.assertTrue(tz == ALWAYS_EQ)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue