Skip to content

Commit c3b45ec

Browse files
committed
Revert "environment tests: clear the singularity image cache"
This reverts commit d13ddc4.
1 parent a42de3b commit c3b45ec

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/test_environment.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pytest
1010
from packaging.version import Version
1111

12-
from cwltool.singularity import _IMAGES, _IMAGES_LOCK, get_version
12+
from cwltool.singularity import get_version
1313

1414
from .util import env_accepts_null, get_tool_env, needs_docker, needs_singularity
1515

@@ -22,12 +22,6 @@
2222
EnvChecks = dict[str, CheckerTypes]
2323

2424

25-
@pytest.fixture(autouse=True)
26-
def clear_singularity_image_cache() -> None:
27-
with _IMAGES_LOCK:
28-
_IMAGES.clear()
29-
30-
3125
def assert_envvar_matches(check: CheckerTypes, k: str, env: Mapping[str, str]) -> None:
3226
"""Assert that the check is satisfied by the key in the env."""
3327
if check is None:

0 commit comments

Comments
 (0)