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

package info (click to toggle)
python-asdf 5.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,940 kB
  • sloc: python: 23,812; makefile: 123
file content (20 lines) | stat: -rw-r--r-- 741 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 f22d74a..b20bfb7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -110,6 +110,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',
     'ignore:Benchmarks are automatically disabled because xdist plugin is active.Benchmarks cannot be performed reliably in a parallelized environment.',
 ]