File: Ignore-all-deprecation-warnings.patch

package info (click to toggle)
sunpy 7.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,208 kB
  • sloc: python: 40,753; ansic: 1,710; makefile: 36
file content (24 lines) | stat: -rw-r--r-- 769 bytes parent folder | download
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: Sun, 26 Jun 2022 18:10:49 +0200
Subject: Ignore all deprecation warnings

These warnings are useful during the development of the package, but
not for the long-term use.

Closes: #1013567
---
 pytest.ini | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pytest.ini b/pytest.ini
index bdd1d5b..b912467 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -48,6 +48,7 @@ doctest_subpackage_requires =
 filterwarnings =
     # Turn all warnings into errors so they do not pass silently.
     error
+    ignore::DeprecationWarning
     # Do not fail on pytest config issues (i.e. missing plugins) but do show them
     always::pytest.PytestConfigWarning
     # A list of warnings to ignore follows. If you add to this list, you MUST