Skip to content

Commit

Permalink
Merge pull request #102 from uniontech-lilinjie/master
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
stub42 committed Apr 3, 2023
2 parents 0017b98 + e2bb946 commit efeb395
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 efeb395

Please sign in to comment.