-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpytest.ini
More file actions
55 lines (55 loc) · 2.06 KB
/
Copy pathpytest.ini
File metadata and controls
55 lines (55 loc) · 2.06 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
[pytest]
minversion = 7.0
testpaths =
sunkit_pyvista
docs
norecursedirs =
.tox
build
docs/_build
docs/generated
*.egg-info
examples
sunkit_pyvista/_dev
.history
sunkit_pyvista/extern
doctest_plus = enabled
doctest_optionflags =
NORMALIZE_WHITESPACE
FLOAT_CMP
ELLIPSIS
text_file_format = rst
addopts =
--doctest-rst
--doctest-ignore-import-errors
-p no:unraisableexception
-p no:threadexception
-m "not mpl_image_compare"
mpl-results-path = figure_test_images
mpl-use-full-test-name = true
markers =
mpl_image_compare: marks this test function as using hash-based Matplotlib figure verification. This mark is not meant to be directly applied, but is instead automatically applied when a test function uses the @sunkit_pyvista.tests.helpers.figure_test decorator.
display_server: marks this test function as needing a display server.
filterwarnings =
# Turn all warnings into errors so they do not pass silently.
error
# Do not fail on pytest config issues (i.e. missing plugins) but do show them
always::pytest.PytestConfigWarning
# A list of warnings to ignore follows. If you add to this list, you MUST
# add a comment or ideally a link to an issue that explains why the warning
# is being ignored
# This is due to dependencies building with a numpy version different from
# the local installed numpy version, but should be fine
# See https://github.com/numpy/numpy/issues/15748#issuecomment-598584838
ignore:numpy.ndarray size changed, may indicate binary incompatibility:RuntimeWarning
# See https://github.com/Cadair/parfive/issues/65
ignore:unclosed <socket
ignore:unclosed transport
ignore:The loop argument is deprecated
ignore:Event loop is closed
# Numpy warnings with some math
ignore:divide by zero encountered in dot:RuntimeWarning
ignore:overflow encountered in dot:RuntimeWarning
ignore:invalid value encountered in dot:RuntimeWarning
# Comes from sunkit-magex
ignore:`row_stack` alias is deprecated. Use `np.vstack` directly.