mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix typos in the Lib directory (GH-28775)
Fix typos in the Lib directory as identified by codespell. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
db693df3e1
commit
745c9d9dfc
64 changed files with 83 additions and 83 deletions
|
@ -4064,7 +4064,7 @@ class TestDateTimeTZ(TestDateTime, TZInfoBase, unittest.TestCase):
|
|||
self.assertEqual(t1, t1)
|
||||
self.assertEqual(t2, t2)
|
||||
|
||||
# Equal afer adjustment.
|
||||
# Equal after adjustment.
|
||||
t1 = self.theclass(1, 12, 31, 23, 59, tzinfo=FixedOffset(1, ""))
|
||||
t2 = self.theclass(2, 1, 1, 3, 13, tzinfo=FixedOffset(3*60+13+2, ""))
|
||||
self.assertEqual(t1, t2)
|
||||
|
@ -4903,7 +4903,7 @@ class TestTimezoneConversions(unittest.TestCase):
|
|||
# OTOH, these fail! Don't enable them. The difficulty is that
|
||||
# the edge case tests assume that every hour is representable in
|
||||
# the "utc" class. This is always true for a fixed-offset tzinfo
|
||||
# class (lke utc_real and utc_fake), but not for Eastern or Central.
|
||||
# class (like utc_real and utc_fake), but not for Eastern or Central.
|
||||
# For these adjacent DST-aware time zones, the range of time offsets
|
||||
# tested ends up creating hours in the one that aren't representable
|
||||
# in the other. For the same reason, we would see failures in the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue