aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py2/patches/01-disable-warnings.patch
blob: b556f43bc734a5ccc4a9e25a2a36b58195ae09d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- contrib/python/pytest/py2/_pytest/assertion/rewrite.py	(index)
+++ contrib/python/pytest/py2/_pytest/assertion/rewrite.py	(working tree)
@@ -4,6 +4,9 @@ from __future__ import absolute_import
 from __future__ import division
 from __future__ import print_function
 
+import warnings
+warnings.filterwarnings("ignore", category=DeprecationWarning, module="_pytest.assertion.rewrite")
+
 import ast
 import errno
 import imp