File: pytest.ini

package info (click to toggle)
brian 2.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,872 kB
  • sloc: python: 51,820; cpp: 2,033; makefile: 108; sh: 72
file content (26 lines) | stat: -rw-r--r-- 1,094 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[pytest]
# This excludes the function brian2.test():
python_functions = test_*

markers =
    long: tests that take a long time to run
    codegen_independent: tests that are independent of code generation
    standalone_compatible: tests that can be run in standalone mode
    multiple_runs: tests that call run multiple times
    standalone_only: tests that are only meant for standalone mode
    cpp_standalone: tests should be run with standalone_only, to be used with standalone_only marker
    openmp: standalone tests using OpenMP for parallel execution on multiple CPUs
    gsl : tests requiring the GSL

# Ignore the warning "BaseException.message has been deprecated as of Python 2.6"
# that occurs because we copy over all exception attributes in brian_object_exception,
# including deprecated ones.
# We also ignore a few numerical warnings from function tests
filterwarnings =
    ignore:BaseException:DeprecationWarning
    ignore:invalid value:RuntimeWarning
    ignore:divide by zero:RuntimeWarning
    ignore:overflow:RuntimeWarning

# Fail tests after 10 minutes
timeout = 600