☰
Debian Codegraph
@
2.10.1-3
2.10.1-2
/
/
dev
/
tools
/
tests
/
run_tests_cython.py
☽
☼
dev/tools/tests/run_tests_cython.py
code
plain
raw
CeCILL-2
2012-2019, ENS, INRIA, CNRS; Romain Brette <
[email protected]
>, Dan Goodman <
[email protected]
>,; Marcel Stimberg and others
debian/copyright
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)