Debian Codegraph @

dev/tools/tests/run_tests_cython.py

raw
1 '''
2 Run all the Cython 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('cython'): # If the test fails, exit with a non-zero error code
9 sys.exit(1)