Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: lilinjie <[email protected]>
  • Loading branch information
uniontech-lilinjie committed Mar 30, 2023
1 parent 0017b98 commit e2bb946
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pytz/tests/test_tzinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ class NoumeaDSTEndTestCase(USEasternDSTStartTestCase):


class NoumeaNoMoreDSTTestCase(NoumeaDSTEndTestCase):
# Noumea dropped DST in 1997. Here we test that it stops occuring.
# Noumea dropped DST in 1997. Here we test that it stops occurring.
transition_time = (
NoumeaDSTEndTestCase.transition_time + timedelta(days=365 * 10))
before = NoumeaDSTEndTestCase.after
Expand Down
2 changes: 1 addition & 1 deletion src/pytz/tzinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def localize(self, dt, is_dst=False):
is_dst=False) + timedelta(hours=6)

# If we get this far, we have multiple possible timezones - this
# is an ambiguous case occuring during the end-of-DST transition.
# is an ambiguous case occurring during the end-of-DST transition.

# If told to be strict, raise an exception since we have an
# ambiguous case
Expand Down

0 comments on commit e2bb946

Please sign in to comment.