···5, ipykernel
6, jupyter_client
7, nbformat
08, pytest
9, six
10, glibcLocales
···23 };
2425 checkInputs = [
26- pytest
27 matplotlib
28 sympy
29 pytestcov
···40 six
41 ];
4243- # Set HOME so that matplotlib doesn't try to use
44- # /homeless-shelter/.config/matplotlib, otherwise some of the tests fail for
45- # having an unexpected warning on stderr produced by matplotlib.
46- # Ignore impure tests.
47- checkPhase = ''
48- export HOME=$(mktemp -d)
49- pytest tests --ignore tests/test_timeouts.py
50- '';
05152 # Some of the tests use localhost networking.
53 __darwinAllowLocalNetworking = true;
···5, ipykernel
6, jupyter_client
7, nbformat
8+, pytestCheckHook
9, pytest
10, six
11, glibcLocales
···24 };
2526 checkInputs = [
27+ pytestCheckHook
28 matplotlib
29 sympy
30 pytestcov
···41 six
42 ];
4344+ pytestFlagsArray = [
45+ "tests"
46+ # These are the main tests but they're fragile so skip them. They error
47+ # whenever matplotlib outputs any unexpected warnings, e.g. deprecation
48+ # warnings.
49+ "--ignore=tests/test_unit_tests_in_notebooks.py"
50+ # Impure
51+ "--ignore=tests/test_timeouts.py"
52+ ];
5354 # Some of the tests use localhost networking.
55 __darwinAllowLocalNetworking = true;