Debian Codegraph @

dev/tools/tests/run_tests_numpy.py

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