Skip to content
Merged
Changes from 2 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
5 changes: 5 additions & 0 deletions tests/test_builders/test_build_linkcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,6 +1144,11 @@ def test_too_many_requests_retry_after_HTTP_date(tz, app, monkeypatch, capsys):
""",
)

# Teardown: the monkeypatch context manager clears the TZ environment variable, but
# we also need to reset Python's internal notion of the current timezone.
if sys.platform != 'win32':
time.tzset()


@pytest.mark.sphinx(
'linkcheck',
Expand Down
Loading