common/build-style/python3-pep517.sh: enable `PY_IGNORE_IMPORTMISMATCH` for testing
Fixes `ImportMismatchError` for doctest-modules in pytest Ref: https://github.com/pytest-dev/pytest/issues/2042#issuecomment-381309723
This commit is contained in:
parent
997caab87c
commit
0e1f4fc46a
|
@ -33,7 +33,7 @@ do_check() {
|
|||
python3 -m installer --destdir "${testdir}" \
|
||||
${make_install_args} ${make_install_target:-dist/*.whl}
|
||||
|
||||
PATH="${testdir}/usr/bin:${PATH}" PYTHONPATH="${testdir}/${py3_sitelib}" \
|
||||
PATH="${testdir}/usr/bin:${PATH}" PYTHONPATH="${testdir}/${py3_sitelib}" PY_IGNORE_IMPORTMISMATCH=1 \
|
||||
${make_check_pre} pytest3 ${testjobs} ${make_check_args} ${make_check_target}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue