Skip to content

Commit 7ffe983

Browse files
committed
Backwards compatible type hints
1 parent 1d8456a commit 7ffe983

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from datetime import datetime, timezone
99
from distutils.util import strtobool
1010
from pathlib import Path
11+
from typing import Tuple
1112

1213
import geojson
1314
import overpass
@@ -154,7 +155,7 @@ def test_geojson_live():
154155
),
155156
]
156157
)
157-
def test_api_status(response: Path, slots_available: int, slots_running: tuple[datetime], slots_waiting: tuple[datetime], requests_mock):
158+
def test_api_status(response: Path, slots_available: int, slots_running: Tuple[datetime], slots_waiting: Tuple[datetime], requests_mock):
158159
mock_response = response.read_text()
159160
requests_mock.get("https://overpass-api.de/api/status", text=mock_response)
160161

0 commit comments

Comments
 (0)