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:
commit
e2bedf2a60
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue