1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00

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 ];