Skip to content

Commit

Permalink
Fix build for pytest config changes (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja authored Jul 3, 2023
1 parent 8ae75f1 commit e689df0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cibuildwheel.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ before-test = [
test-command = """ \
( \
DIR=$(python -c 'import mypy, os; dn = os.path.dirname; print(dn(dn(mypy.__path__[0])))') \
&& cp '{project}/mypy/pytest.ini' '{project}/mypy/conftest.py' $DIR \
&& cp '{project}/mypy/pyproject.toml' '{project}/mypy/conftest.py' $DIR \
\
&& MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])') \
&& MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR \
Expand All @@ -49,7 +49,7 @@ test-command = """ \
windows.test-command = """ \
bash -c "( \
DIR=$(python -c 'import mypy, os; dn = os.path.dirname; print(dn(dn(mypy.__path__[0])))') \
&& cp '{project}/mypy/pytest.ini' '{project}/mypy/conftest.py' $DIR \
&& cp '{project}/mypy/pyproject.toml' '{project}/mypy/conftest.py' $DIR \
\
&& MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])') \
&& MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR/testcheck.py \
Expand Down
2 changes: 1 addition & 1 deletion mypy_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2e304ca36df9975299769b3b40ec9d73ad4f68b4
259c822938c4d3461ba80e8162faf082d487162a

0 comments on commit e689df0

Please sign in to comment.