summaryrefslogtreecommitdiff
path: root/tests/test_build_linkcheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_build_linkcheck.py')
-rw-r--r--tests/test_build_linkcheck.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_build_linkcheck.py b/tests/test_build_linkcheck.py
index dfdbb5ff3..0374e5d3f 100644
--- a/tests/test_build_linkcheck.py
+++ b/tests/test_build_linkcheck.py
@@ -1,5 +1,7 @@
"""Test the build process with manpage builder with the test root."""
+from __future__ import annotations
+
import http.server
import json
import re
@@ -8,7 +10,6 @@ import time
import wsgiref.handlers
from datetime import datetime
from queue import Queue
-from typing import Dict
from unittest import mock
import pytest
@@ -555,7 +556,7 @@ def test_too_many_requests_user_timeout(app, capsys):
class FakeResponse:
- headers: Dict[str, str] = {}
+ headers: dict[str, str] = {}
url = "http://localhost/"