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 1b96586 commit e93e2f7Copy full SHA for e93e2f7
tests/autobahn/test_autobahn.py
@@ -6,7 +6,12 @@
6
7
import pytest
8
from pytest import TempPathFactory
9
-from python_on_whales import DockerException, docker
+
10
+if TYPE_CHECKING:
11
+ from python_on_whales import DockerException, docker
12
+else:
13
+ DockerException = pytest.importorskip("python_on_whales.DockerException")
14
+ docker = pytest.importorskip("python_on_whales.docker")
15
16
17
@pytest.fixture(scope="session")
0 commit comments