File: silence-warning

package info (click to toggle)
python-cheroot 11.1.2%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,236 kB
  • sloc: python: 6,969; makefile: 10
file content (22 lines) | stat: -rw-r--r-- 887 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
From: "Michae R. Crusoe" <crusoe@debian.org>
Date: Thu, 8 Jan 2026 12:15:36 +0100
Subject: Silence a warning specific to Python 3.14

Forwarded: https://github.com/cherrypy/cheroot/pull/810
---
 pytest.ini | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pytest.ini b/pytest.ini
index 6586702..8df4cb2 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -61,6 +61,8 @@ filterwarnings =
   # FIXME: which exposed a possible race condition in test_conn test cleanup.
   # Ref: https://github.com/cherrypy/cheroot/issues/734
   ignore:Exception ignored in. <function IOBase.__del__:pytest.PytestUnraisableExceptionWarning
+  # Python 3.14 version of the above
+  ignore:Exception ignored while calling deallocator <function IOBase.__del__ at:pytest.PytestUnraisableExceptionWarning
 
 # https://docs.pytest.org/en/stable/usage.html#creating-junitxml-format-files
 junit_duration_report = call