···55, ipykernel
66, jupyter_client
77, nbformat
88+, pytestCheckHook
89, pytest
910, six
1011, glibcLocales
···2324 };
24252526 checkInputs = [
2626- pytest
2727+ pytestCheckHook
2728 matplotlib
2829 sympy
2930 pytestcov
···4041 six
4142 ];
42434343- # Set HOME so that matplotlib doesn't try to use
4444- # /homeless-shelter/.config/matplotlib, otherwise some of the tests fail for
4545- # having an unexpected warning on stderr produced by matplotlib.
4646- # Ignore impure tests.
4747- checkPhase = ''
4848- export HOME=$(mktemp -d)
4949- pytest tests --ignore tests/test_timeouts.py
5050- '';
4444+ pytestFlagsArray = [
4545+ "tests"
4646+ # These are the main tests but they're fragile so skip them. They error
4747+ # whenever matplotlib outputs any unexpected warnings, e.g. deprecation
4848+ # warnings.
4949+ "--ignore=tests/test_unit_tests_in_notebooks.py"
5050+ # Impure
5151+ "--ignore=tests/test_timeouts.py"
5252+ ];
51535254 # Some of the tests use localhost networking.
5355 __darwinAllowLocalNetworking = true;