python3-jsonschema: use bsdtar for tests

This commit is contained in:
Michal Vasilek 2023-01-29 12:34:49 +01:00
parent 144d564e89
commit 0c7d5d7d95
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ checksum=0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d
do_check() {
rm -rf *.dist-info tmp # remove artifacts from previous unsuccessful check run
pip install --no-deps --target tmp ./dist/jsonschema-$version-py3-none-any.whl
mkdir tmp
bsdtar xf dist/jsonschema-$version-py3-none-any.whl -C tmp
rm tmp/jsonschema/tests -rf
mv tmp/*.dist-info .
PYTHONPATH=. pytest --deselect jsonschema/tests/test_jsonschema_test_suite.py::test_suite_bug