Skip to content

Commit dd382ca

Browse files
committed
moved docker import inside test
1 parent 3a2afbb commit dd382ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pydra/environments/tests/test_environments.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from pathlib import Path
22
import typing as ty
3-
import docker as docker_engine
43
from pydra.environments import native, docker, singularity
54
from pydra.engine.submitter import Submitter
65
from fileformats.generic import File
@@ -511,6 +510,8 @@ def newcache(x):
511510
def test_entrypoint(tmp_path):
512511
"""docker env: task with a file in the output"""
513512

513+
import docker as docker_engine
514+
514515
dc = docker_engine.from_env()
515516

516517
# Create executable that runs validator then produces some mock output

0 commit comments

Comments
 (0)