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:
parent
2c08f7dadd
commit
124d108d7d
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue