forked from QuTech-Delft/qtt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
16 lines (14 loc) · 755 Bytes
/
Copy pathpytest.ini
File metadata and controls
16 lines (14 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[pytest]
# look into python files to look for individual test functions
python_files = *.py
python_classes =
python_functions = test_*
addopts = --pyargs src/tests/unittests src/tests/integration
# exclude some directories from searching to save time
norecursedirs = .svn _build tmp* .git docs untitled* deprecated* build dist .cache *.egg-info __pycache__
# ignore deprecation warnings from external packages
filterwarnings =
ignore:.*the imp module is deprecated in favour of importlib*:DeprecationWarning
ignore:.*Please use `convolve1d` from the `scipy.ndimage` namespace*:DeprecationWarning
ignore:.*`finfo.machar` is deprecated (NumPy 1.22)*:DeprecationWarning
ignore:.*invalid value encountered in double_scalars'*:RuntimeWarning