We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2ae72 commit 26aa072Copy full SHA for 26aa072
tests/validators/test_url.py
@@ -1319,7 +1319,7 @@ def test_multi_url_build() -> None:
1319
1320
1321
@pytest.mark.parametrize('url_type', [Url, MultiHostUrl])
1322
-def test_url_build_encodes_credentials(url_type: type[Url | MultiHostUrl]) -> None:
+def test_url_build_encodes_credentials(url_type: type[Union[Url, MultiHostUrl]]) -> None:
1323
url = url_type.build(
1324
scheme='postgresql',
1325
username='user name',
0 commit comments