☰
Debian Codegraph
@
2.10.1-3
2.10.1-2
/
/
dev
/
tools
/
tests
/
run_tests_numpy_long.py
☽
☼
dev/tools/tests/run_tests_numpy_long.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 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)