File: Ignore-Astropy-deprecation-warnings-in-tests.patch

package info (click to toggle)
python-asdf 2.14.3-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,280 kB
  • sloc: python: 16,612; makefile: 124
file content (20 lines) | stat: -rw-r--r-- 652 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Ole Streicher <olebole@debian.org>
Date: Tue, 20 Dec 2022 11:25:58 +0100
Subject: Ignore Astropy deprecation warnings in tests

---
 pyproject.toml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyproject.toml b/pyproject.toml
index 040bfd8..7086158 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -90,6 +90,7 @@ open_files_ignore = ['test.fits', 'asdf.fits']
 # which pytest trips over during collection:
 filterwarnings = [
     'error',
+    'ignore::astropy.utils.exceptions.AstropyDeprecationWarning',
     'ignore::asdf.exceptions.AsdfDeprecationWarning:asdf.asdftypes',
     'ignore:numpy.ndarray size changed:RuntimeWarning',
 ]