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

View File

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