pythonPackages.pytest-mpl: refactor fix broken python 2 test
This commit is contained in:
parent
2c08f7dadd
commit
124d108d7d
@ -25,11 +25,15 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
mkdir -p $HOME/.config/matplotlib
|
||||||
|
echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc
|
||||||
|
|
||||||
pytest
|
pytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
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;
|
homepage = https://github.com/matplotlib/pytest-mpl;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
Loading…
Reference in New Issue
Block a user