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

package info (click to toggle)
python-asdf 4.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,060 kB
  • sloc: python: 24,224; 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 cb03424..3ddd595 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -111,6 +111,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.',
 ]