python3Packages.nbval: Fix tests
This commit is contained in:
parent
07988a0f88
commit
a5f1cf97b6
@ -40,8 +40,12 @@ buildPythonPackage rec {
|
|||||||
six
|
six
|
||||||
];
|
];
|
||||||
|
|
||||||
# ignore impure tests
|
# Set HOME so that matplotlib doesn't try to use
|
||||||
|
# /homeless-shelter/.config/matplotlib, otherwise some of the tests fail for
|
||||||
|
# having an unexpected warning on stderr produced by matplotlib.
|
||||||
|
# Ignore impure tests.
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
pytest tests --ignore tests/test_timeouts.py
|
pytest tests --ignore tests/test_timeouts.py
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user