-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpytest.ini
More file actions
34 lines (31 loc) · 2.12 KB
/
pytest.ini
File metadata and controls
34 lines (31 loc) · 2.12 KB
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
27
28
29
30
31
32
33
34
[pytest]
addopts = -vv --strict-markers --doctest-modules
filterwarnings =
# warnings are errors
error
# Known issue with numpy under valgrind - don't error on this
once:Signature .* for <class 'numpy.longdouble'> does not match any known type. falling back to type probe function:UserWarning
# petab
ignore:Using petab.v1.Problem with PEtab2.0 is deprecated:DeprecationWarning
# amici
ignore:Conservation laws for non-constant species in models with RateRules are currently not supported and will be turned off.:UserWarning
ignore:Conservation laws for non-constant species in models with Species-AssignmentRules are currently not supported and will be turned off.:UserWarning
ignore:Conservation laws for non-constant species in combination with parameterized stoichiometric coefficients are not currently supported and will be turned off.:UserWarning
ignore:Support for PEtab2.0.*experimental:UserWarning
ignore:The JAX module is experimental and the API may change in the future.:ImportWarning
# hundreds of SBML <=5.17 warnings
ignore:.*inspect.getargspec\(\) is deprecated.*:DeprecationWarning
# pysb warnings
ignore:the imp module is deprecated in favour of importlib.*:DeprecationWarning:pysb\.core
ignore:Model.initial_conditions will be removed in a future version. Instead, you can get a list of Initial objects with Model.initials.:DeprecationWarning:pysb\.core
# https://github.com/pytest-dev/pytest-xdist/issues/825#issuecomment-1292283870
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning
ignore:.*:ImportWarning:tellurium
ignore:.*PyDevIPCompleter6.*:DeprecationWarning
# ignore numpy log(0) warnings (np.log(0) = -inf)
ignore:divide by zero encountered in log:RuntimeWarning
# ignore jax deprecation warnings
ignore:jax.* is deprecated:DeprecationWarning
# swig 4.3 issues
ignore:builtin type .* has no __module__ attribute:DeprecationWarning
norecursedirs = .git amici_models build doc documentation models ThirdParty amici sdist examples *build* petab_test_problems pysb_test_models