Skip to content

Commit

Permalink
fix test on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsadhwani committed Jun 30, 2024
1 parent 0beae1e commit ef7e91b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/yen_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ def test_yen_create(yen_path: str) -> None:

@parametrize_python_and_rust_path
def test_yen_create_force_32bit(yen_path: str) -> None:
if platform.system() == "Darwin":
pytest.skip("Can't do x86 on mac.")

try:
output = run([yen_path, "create", "-p3.11", "testvenv", "--32bit"])
assert "Created" in output
Expand Down Expand Up @@ -154,6 +157,9 @@ def test_yen_install(yen_path: str) -> None:

@parametrize_python_and_rust_path
def test_yen_install_force_32bit(yen_path: str) -> None:
if platform.system() == "Darwin":
pytest.skip("Can't do x86 on mac.")

output = run([yen_path, "install", "-p3.10", "meowsay", "--32bit"])
assert "Installed" in output
assert "meowsay" in output
Expand Down

0 comments on commit ef7e91b

Please sign in to comment.