Skip to content

Commit

Permalink
Fix compatibility with Python 3.11.0b2
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Jun 1, 2022
1 parent dc454c7 commit 5c03e97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ else
# 'coverage xml' to generate the report that it uses, and that will only
# apply the ignore patterns in the current directory's .coveragerc.
cp ../.coveragerc .
if pytest -r a --junitxml=../test-results.xml --run-slow ${INSTALLDIR} --cov="$INSTALLDIR" --verbose; then
# --assert=plain disables pytest assertion rewrites so that we can test 3.11.0b2
# https://github.com/pytest-dev/pytest/issues/10008
if pytest -r a --junitxml=../test-results.xml --run-slow ${INSTALLDIR} --cov="$INSTALLDIR" --verbose --assert-plain; then
PASSED=true
else
PASSED=false
Expand Down

0 comments on commit 5c03e97

Please sign in to comment.