Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jun 13, 2024
1 parent 560026d commit 8c4c3f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/test_before_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ def test(tmp_path, build_frontend_env):
'''python -c "import os, sys; open('{project}/pythonprefix_bt.txt', 'w').write(sys.prefix)"''',
]

if utils.platform == "pyodide":
before_test_steps.extend(
["pyodide build {project}/dependency", "pip install --find-links dist/ spam"]
)
else:
if build_frontend_env["CIBW_BUILD_FRONTEND"] == "pip":
before_test_steps.append("python -m pip install {project}/dependency")

before_test = " && ".join(before_test_steps)
Expand Down

0 comments on commit 8c4c3f1

Please sign in to comment.