Skip to content

Commit

Permalink
Skip test_python_pinning for osx-arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M committed Aug 29, 2024
1 parent e70da6a commit 81c362b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion micromamba/tests/test_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,11 @@ def test_no_python_pinning(self, existing_cache):
@pytest.mark.skipif(
dry_run_tests is DryRun.ULTRA_DRY, reason="Running only ultra-dry tests"
)
@pytest.mark.skipif(sys.platform == "win32", reason="Python2 no available")
@pytest.mark.skipif(
sys.platform == "win32"
or (sys.platform == "darwin" and platform.machine() == "arm64"),
reason="Python2 not available",
)
def test_python_pinning(self, existing_cache):
"""Black fails to install as it is not available for pinned Python 2."""
res = install("python=2", "--json", no_dry_run=True)
Expand Down

0 comments on commit 81c362b

Please sign in to comment.