| 1 |
[pytest] |
| 2 |
# This excludes the function brian2.test(): |
| 3 |
python_functions = test_* |
| 4 |
|
| 5 |
markers = |
| 6 |
long: tests that take a long time to run |
| 7 |
codegen_independent: tests that are independent of code generation |
| 8 |
standalone_compatible: tests that can be run in standalone mode |
| 9 |
multiple_runs: tests that call run multiple times |
| 10 |
standalone_only: tests that are only meant for standalone mode |
| 11 |
cpp_standalone: tests should be run with standalone_only, to be used with standalone_only marker |
| 12 |
openmp: standalone tests using OpenMP for parallel execution on multiple CPUs |
| 13 |
gsl : tests requiring the GSL |
| 14 |
|
| 15 |
# Ignore the warning "BaseException.message has been deprecated as of Python 2.6" |
| 16 |
# that occurs because we copy over all exception attributes in brian_object_exception, |
| 17 |
# including deprecated ones. |
| 18 |
# We also ignore a few numerical warnings from function tests |
| 19 |
filterwarnings = |
| 20 |
ignore:BaseException:DeprecationWarning |
| 21 |
ignore:invalid value:RuntimeWarning |
| 22 |
ignore:divide by zero:RuntimeWarning |
| 23 |
ignore:overflow:RuntimeWarning |
| 24 |
|
| 25 |
# Fail tests after 1 hour |
| 26 |
timeout = 3600 |