Skip to content

Commit c271ed4

Browse files
committed
chore(tests): fix compatibility with py38
Signed-off-by: JP-Ellis <josh@jpellis.me>
1 parent 7c10f65 commit c271ed4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/v3/compatibility_suite/conftest.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@
77

88
import shutil
99
import subprocess
10-
from collections.abc import Generator
1110
from pathlib import Path
12-
from typing import Any, Union
11+
from typing import Any, Generator, Union
1312

1413
import pytest
1514
from testcontainers.compose import DockerCompose # type: ignore[import-untyped]

tests/v3/compatibility_suite/util/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ def _():
3131
from collections.abc import Collection, Mapping
3232
from datetime import date, datetime, time
3333
from pathlib import Path
34-
from typing import Any, Self
34+
from typing import Any
3535
from xml.etree import ElementTree
3636

3737
import flask
3838
from flask import request
3939
from multidict import MultiDict
40+
from typing_extensions import Self
4041
from yarl import URL
4142

4243
if typing.TYPE_CHECKING:

0 commit comments

Comments
 (0)