File: pytest.ini

package info (click to toggle)
python-pyqtgraph 0.13.7-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 8,068 kB
  • sloc: python: 54,043; makefile: 129; ansic: 40; sh: 2
file content (26 lines) | stat: -rw-r--r-- 1,352 bytes parent folder | download | duplicates (2)
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
[pytest]
xvfb_width = 1920
xvfb_height = 1080
# use this due to some issues with ndarray reshape errors on CI systems
xvfb_colordepth = 24
xvfb_args=-ac +extension GLX +render
faulthandler_timeout = 60

filterwarnings =
    error
    # 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
    # pyside2_512 specific issue
    ignore:This method will be removed in future versions.  Use 'tree.iter\(\)' or 'list\(tree.iter\(\)\)' instead.:PendingDeprecationWarning
    # 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 on non-linux systems
    ignore:Unknown config option:pytest.PytestConfigWarning
    # pyreadline windows warning
    ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.10 it will stop working:DeprecationWarning:pyreadline:8
    # conda pyside2 bindings
    ignore:an integer is required \(got type PySide2.