diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-07 15:49:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 15:49:47 (GMT) |
commit | cfca4a67745cb9ed040fade3fd54f5002a6e75a6 (patch) | |
tree | db352adfb835d8b392b2257e12a9b481b1a8bf12 /Lib/test/datetimetester.py | |
parent | 03bf55d8cf563ccdee2ec61c5c734c59b5d94ba4 (diff) | |
download | cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.zip cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.gz cpython-cfca4a67745cb9ed040fade3fd54f5002a6e75a6.tar.bz2 |
[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)
Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>.
(cherry picked from commit 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be)
Co-authored-by: Christian Clauss <cclauss@me.com>
Diffstat (limited to 'Lib/test/datetimetester.py')
-rw-r--r-- | Lib/test/datetimetester.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py index 6414f1a..9f551d9 100644 --- a/Lib/test/datetimetester.py +++ b/Lib/test/datetimetester.py @@ -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 |