diff options
Diffstat (limited to 'tests/tz')
-rw-r--r-- | tests/tz/test_helpers.py | 2 | ||||
-rw-r--r-- | tests/tz/test_timezone.py | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/tests/tz/test_helpers.py b/tests/tz/test_helpers.py index edec6fd..9402372 100644 --- a/tests/tz/test_helpers.py +++ b/tests/tz/test_helpers.py @@ -2,7 +2,7 @@ from __future__ import annotations import pytest -from pendulum.tz import timezone +from pendulum import timezone from pendulum.tz.exceptions import InvalidTimezone from pendulum.tz.timezone import FixedTimezone from pendulum.tz.timezone import Timezone diff --git a/tests/tz/test_timezone.py b/tests/tz/test_timezone.py index 655267d..792beb0 100644 --- a/tests/tz/test_timezone.py +++ b/tests/tz/test_timezone.py @@ -274,7 +274,10 @@ def test_after_last_transition(): @pytest.mark.skip( - reason="zoneinfo does not currently support POSIX transition rules to go beyond the last fixed transition." + reason=( + "zoneinfo does not currently support POSIX transition" + " rules to go beyond the last fixed transition." + ) ) def test_on_last_transition(): tz = pendulum.timezone("Europe/Paris") @@ -406,7 +409,10 @@ def test_just_before_last_transition(): @pytest.mark.skip( - reason="zoneinfo does not currently support POSIX transition rules to go beyond the last fixed transition." + reason=( + "zoneinfo does not currently support POSIX transition" + " rules to go beyond the last fixed transition." + ) ) def test_timezones_are_extended(): tz = pendulum.timezone("Europe/Paris") |