3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #124554 from risicle/ris-python-acoustics-tests-matplotlib-backend

python3Packages.acoustics: fix tests on sandboxed darwin
This commit is contained in:
Sandro 2021-06-20 18:15:36 +02:00 committed by GitHub
commit e2bedf2a60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,10 @@ buildPythonPackage rec {
}; };
checkPhase = '' checkPhase = ''
export HOME=$TMPDIR
mkdir -p $HOME/.matplotlib
echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
pushd tests pushd tests
py.test -Wignore::DeprecationWarning ./. py.test -Wignore::DeprecationWarning ./.
popd popd