File: deb_disable_pytest_warn

package info (click to toggle)
datalad 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,148 kB
  • sloc: python: 69,414; sh: 1,521; makefile: 220
file content (22 lines) | stat: -rw-r--r-- 858 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
From: Yaroslav Halchenko <debian@onerussian.com>
Subject: disable filtering on this warning

to ease backporting on buster (nd100) with old pytest. Causes pytest to puke 
right away because it does not know that class.

Origin: NeuroDebian
Last-Update: 2022-09-23

--- a/tox.ini
+++ b/tox.ini
@@ -68,10 +68,6 @@ commands = sphinx-build -E -W -b html so
 [pytest]
 filterwarnings =
     error::DeprecationWarning:^datalad
-    # TODO: https://github.com/datalad/datalad/issues/7435
-    ignore:pkg_resources is deprecated:DeprecationWarning:
-    error:.*yield tests:pytest.PytestCollectionWarning
-    ignore:distutils Version classes are deprecated:DeprecationWarning
     # workaround for https://github.com/datalad/datalad/issues/6307
     ignore:The distutils package is deprecated
     # sent fix upstream: https://github.com/HTTPretty/HTTPretty/pull/9