File: Ignore-DeprecationWarnings-during-tests.patch

package info (click to toggle)
astroml 1.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 932 kB
  • sloc: python: 5,731; makefile: 3
file content (24 lines) | stat: -rw-r--r-- 699 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
From: Ole Streicher <olebole@debian.org>
Date: Thu, 2 Dec 2021 15:28:06 +0100
Subject: Ignore DeprecationWarnings during tests

---
 setup.cfg | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index 35f5342..7d4d25b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -31,11 +31,6 @@ doctest_plus = enabled
 doctest_rst = True
 testspaths = astroML doc examples
 doctest_optionflags = FLOAT_CMP ELLIPSIS NORMALIZE_WHITESPACE
-filterwarnings = 
-	error::DeprecationWarning
-	error::FutureWarning
-	ignore:Using or importing the ABCs from 'collections':DeprecationWarning
-	ignore:distutils Version classes are deprecated:DeprecationWarning:xarray
 
 [flake8]
 max-line-length = 100