From a388268af09ff6735a55c576b8d0ea6f6cafa3ac Mon Sep 17 00:00:00 2001 From: Marius van Niekerk Date: Wed, 28 Jun 2023 09:34:34 -0400 Subject: [PATCH] disable micromamba tests on windows --- tests/test_conda_lock.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test_conda_lock.py b/tests/test_conda_lock.py index 8eb2d0be1..ac2264a97 100644 --- a/tests/test_conda_lock.py +++ b/tests/test_conda_lock.py @@ -316,6 +316,7 @@ def include_dev_dependencies(request: Any) -> bool: ) def _conda_exe_type(request: Any) -> str: "Internal fixture to iterate over" + return request.param @@ -328,6 +329,10 @@ def conda_exe(_conda_exe_type: str) -> PathLike: conda=False, conda_exe=False, ) + if platform.system().lower() == "windows": + if _conda_exe_type == "micromamba": + pytest.skip(reason="micromamba tests are failing on windows") + kwargs[_conda_exe_type] = True _conda_exe = _ensureconda(**kwargs)