Adjust pytest.ini warning suppressions
Show standard library Deprecation and PendingDeprecation warnings Remove warning filters used for older Qt bindings no longer supported
This commit is contained in:
parent
5c67f03b0e
commit
435c54d20b
10
pytest.ini
10
pytest.ini
@ -7,15 +7,15 @@ xvfb_args=-ac +extension GLX +render
|
||||
faulthandler_timeout = 30
|
||||
|
||||
filterwarnings =
|
||||
# re-enable standard library warnings
|
||||
once::DeprecationWarning
|
||||
once::PendingDeprecationWarning
|
||||
# comfortable skipping these warnings runtime warnings
|
||||
# https://stackoverflow.com/questions/40845304/runtimewarning-numpy-dtype-size-changed-may-indicate-binary-incompatibility
|
||||
ignore:numpy.ufunc size changed, may indicate binary incompatibility.*:RuntimeWarning
|
||||
# Warnings generated from PyQt5.9
|
||||
# pyside2_512 specific issue
|
||||
ignore:This method will be removed in future versions. Use 'tree.iter\(\)' or 'list\(tree.iter\(\)\)' instead.:PendingDeprecationWarning
|
||||
ignore:.*'U' mode is deprecated.*:DeprecationWarning
|
||||
# py36/pyside2_512 specific issue
|
||||
ignore:split\(\) requires a non-empty pattern match\.:FutureWarning
|
||||
# pyqtgraph specific warning we want to ignore during testing
|
||||
ignore:Visible window deleted. To prevent this, store a reference to the window object.
|
||||
# xvfb warnings
|
||||
# xvfb warnings on non-linux systems
|
||||
ignore:Unknown config option:pytest.PytestConfigWarning
|
||||
|
Loading…
x
Reference in New Issue
Block a user