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 5dad0e7 commit 0970743Copy full SHA for 0970743
core/tests/test_compose.py
@@ -2,7 +2,7 @@
2
from pathlib import Path
3
from re import split
4
from time import sleep
5
-from typing import Union
+from typing import Union, Optional
6
from urllib.request import urlopen, Request
7
8
import pytest
@@ -369,7 +369,7 @@ def fetch(req: Union[Request, str]):
369
),
370
],
371
)
372
-def test_compose_profile_support(profiles: list[str] | None, running: list[str], not_running: list[str]):
+def test_compose_profile_support(profiles: Optional[list[str]], running: list[str], not_running: list[str]):
373
with DockerCompose(context=FIXTURES / "profile_support", profiles=profiles) as compose:
374
for service in running:
375
assert compose.get_container(service) is not None
0 commit comments