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 35 36 37 38 39 40 41 42 43 44
|
[pytest]
addopts = -l
junit_family=xunit2
norecursedirs =
doc
tools
scipy/_lib/array_api_compat
scipy/_lib/array_api_extra
scipy/_lib/cobyqa
scipy/_lib/highs
scipy/_lib/pyprima
filterwarnings =
always::scipy._lib._testutils.FPUModeChangeWarning
ignore:.*deprecated and ignored since IPython.*:DeprecationWarning
once:.*LAPACK bug 0038.*:RuntimeWarning
ignore:can't resolve package from __spec__ or __package__, falling back on __name__ and __path__:ImportWarning
ignore:assertions not in test modules or plugins:pytest.PytestConfigWarning
ignore:'environmentfilter' is renamed to 'pass_environment'
ignore:'contextfunction' is renamed to 'pass_context'
ignore:.*The distutils.* is deprecated.*:DeprecationWarning
ignore:\s*.*numpy.distutils.*:DeprecationWarning
ignore:.*`numpy.core` has been made officially private.*:DeprecationWarning
ignore:.*In the future `np.long` will be defined as.*:FutureWarning
ignore:.*JAX is multithreaded.*:RuntimeWarning
ignore:^Using the slower implmentation::cupy
ignore:Using the slower implementation::cupy
ignore:Jitify is performing a one-time only warm-up::cupy
ignore:.*scipy.misc.*:DeprecationWarning
ignore:.*NumPy warning suppression.*:DeprecationWarning
# When updating the markers here, also update them in scipy/conftest.py
markers =
slow: Tests that are very slow
xslow: mark test as extremely slow (not run unless explicitly requested)
xfail_on_32bit: mark test as failing on 32-bit platforms
array_api_backends: test iterates on all array API backends
skip_xp_backends(backends, reason=None, np_only=False, cpu_only=False, eager_only=False, exceptions=None): mark the desired skip configuration for the `skip_xp_backends` fixture
xfail_xp_backends(backends, reason=None, np_only=False, cpu_only=False, eager_only=False, exceptions=None): mark the desired xfail configuration for the `xfail_xp_backends` fixture
timeout: mark a test for a non-default timeout
fail_slow: mark a test for a non-default timeout failure
parallel_threads(n): run the given test function in parallel
thread_unsafe: mark the test function as single-threaded
iterations(n): run the given test function `n` times in each thread
|