Debian Codegraph @

dev/tools/tests/run_tests_numpy_long.py

raw
1 '''
2 Run all the numpy tests (including tests that take a long time) using pytest.
3 Exits with error code 1 if a test failed.
4 '''
5 import sys
6
7 import brian2
8
9 if not brian2.test('numpy', long_tests=True): # If the test fails, exit with a non-zero error code
10 sys.exit(1)