custodia/SOURCES/nonfatal_deprecation.patch

12 lines
503 B
Diff
Raw Permalink Normal View History

--- a/tests/conftest.py.orig 2018-06-29 18:06:51.296810334 +0200
+++ b/tests/conftest.py 2018-06-29 18:06:58.691767950 +0200
@@ -9,7 +9,7 @@
from custodia.log import ProvisionalWarning, setup_logging
# deprecated APIs raise an exception
-warnings.simplefilter('error', category=DeprecationWarning)
+# warnings.simplefilter('error', category=DeprecationWarning)
# ignore pytest warnings
warnings.filterwarnings('ignore', category=DeprecationWarning,
module=r'_pytest\..*')