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

package info (click to toggle)
python-asdf 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 7,032 kB
  • sloc: python: 24,068; makefile: 123
file content (20 lines) | stat: -rw-r--r-- 599 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 b475298..8aeeb63 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -107,6 +107,7 @@ minversion = 4.6
 remote_data_strict = true
 filterwarnings = [
     'error',  # also set in _tests/conftest to work with pyargs
+    'ignore::astropy.utils.exceptions.AstropyDeprecationWarning',
     'ignore:numpy.ndarray size changed:RuntimeWarning',
 ]
 addopts = [