pythonPackages.pytest-mpl: refactor fix broken python 2 test

This commit is contained in:
Chris Ostrouchov 2019-07-16 08:00:08 -04:00 committed by Frederik Rietdijk
parent 2c08f7dadd
commit 124d108d7d

View File

@ -25,11 +25,15 @@ buildPythonPackage rec {
];
checkPhase = ''
export HOME=$(mktemp -d)
mkdir -p $HOME/.config/matplotlib
echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc
pytest
'';
meta = with lib; {
description = "pytest plugin to help with testing figures output from Matplotlib";
description = "Pytest plugin to help with testing figures output from Matplotlib";
homepage = https://github.com/matplotlib/pytest-mpl;
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];