python312Packages.pytest-mpl: fix Segmentation fault
remove unnecessary preCheck setup
This commit is contained in:
committed by
Martin Weinelt
parent
b6061023cf
commit
2e43211db3
@@ -47,11 +47,6 @@ buildPythonPackage rec {
|
||||
# https://github.com/matplotlib/pytest-mpl/pull/9
|
||||
# https://github.com/matplotlib/pytest-mpl/issues/225
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
mkdir -p $HOME/.config/matplotlib
|
||||
echo "backend: ps" > $HOME/.config/matplotlib/matplotlibrc
|
||||
ln -s $HOME/.config/matplotlib $HOME/.matplotlib
|
||||
|
||||
substituteInPlace pytest_mpl/plugin.py \
|
||||
--replace-fail "DEFAULT_TOLERANCE = 2" "DEFAULT_TOLERANCE = 10"
|
||||
substituteInPlace tests/test_pytest_mpl.py \
|
||||
|
||||
Reference in New Issue
Block a user