Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/borg/testsuite/archiver/match_archives_date_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

from ...constants import * # NOQA
from ...helpers.errors import CommandError
from ...platform import is_win32
from . import cmd, create_src_archive, generate_archiver_tests, RK_ENCRYPTION

pytest_generate_tests = lambda metafunc: generate_archiver_tests(metafunc, kinds="local,binary") # NOQA
Expand Down Expand Up @@ -282,7 +281,7 @@ def test_match_hour_from_different_tz(archivers, request):
]


@pytest.mark.skipif(is_win32, reason="time.tzset() is not available on Windows")
@pytest.mark.skipif(not hasattr(time, "tzset"), reason="time.tzset() is not available on this platform")
def test_match_bare_pattern_uses_local_timezone(archivers, request, set_timezone):
"""A pattern without a timezone suffix is interpreted in the local timezone."""
set_timezone("America/New_York")
Expand Down
Loading