Skip to content

Commit 26aa072

Browse files
committed
fix type hint for 3.9
1 parent fa2ae72 commit 26aa072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/validators/test_url.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ def test_multi_url_build() -> None:
13191319

13201320

13211321
@pytest.mark.parametrize('url_type', [Url, MultiHostUrl])
1322-
def test_url_build_encodes_credentials(url_type: type[Url | MultiHostUrl]) -> None:
1322+
def test_url_build_encodes_credentials(url_type: type[Union[Url, MultiHostUrl]]) -> None:
13231323
url = url_type.build(
13241324
scheme='postgresql',
13251325
username='user name',

0 commit comments

Comments
 (0)