File: set-deprecation-warnings-to-ignore.patch

package info (click to toggle)
keystone 2%3A28.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,292 kB
  • sloc: python: 125,021; pascal: 2,239; sh: 877; xml: 335; makefile: 216
file content (17 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Set deprecation warnings to ignore
 Otherwise, Keystone FTBFS in Unstable.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2025-03-13

--- keystone-24.0.0.orig/keystone/tests/unit/ksfixtures/warnings.py
+++ keystone-24.0.0/keystone/tests/unit/ksfixtures/warnings.py
@@ -30,7 +30,7 @@
         warnings.simplefilter('once', DeprecationWarning)
 
         warnings.filterwarnings(
-            'error', module='keystone', category=DeprecationWarning
+            'ignore', module='keystone', category=DeprecationWarning
         )
 
         warnings.filterwarnings(