Debian Codegraph @

debian/patches/deb_disable_pytest_warn

raw
1 From: Yaroslav Halchenko <[email protected]>
2 Subject: disable filtering on this warning
3
4 to ease backporting on buster (nd100) with old pytest. Causes pytest to puke
5 right away because it does not know that class.
6
7 Origin: NeuroDebian
8 Last-Update: 2022-09-23
9
10 --- a/tox.ini
11 +++ b/tox.ini
12 @@ -68,10 +68,6 @@ commands = sphinx-build -E -W -b html so
13 [pytest]
14 filterwarnings =
15 error::DeprecationWarning:^datalad
16 - # TODO: https://github.com/datalad/datalad/issues/7435
17 - ignore:pkg_resources is deprecated:DeprecationWarning:
18 - error:.*yield tests:pytest.PytestCollectionWarning
19 - ignore:distutils Version classes are deprecated:DeprecationWarning
20 # workaround for https://github.com/datalad/datalad/issues/6307
21 ignore:The distutils package is deprecated
22 # sent fix upstream: https://github.com/HTTPretty/HTTPretty/pull/9