diff --git a/src/pytz/tests/test_tzinfo.py b/src/pytz/tests/test_tzinfo.py index 7d6d7887..16018fab 100644 --- a/src/pytz/tests/test_tzinfo.py +++ b/src/pytz/tests/test_tzinfo.py @@ -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 diff --git a/src/pytz/tzinfo.py b/src/pytz/tzinfo.py index 725978d5..89a50afd 100644 --- a/src/pytz/tzinfo.py +++ b/src/pytz/tzinfo.py @@ -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