aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/pytest/py2/patches/01-disable-warnings.patch
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/pytest/py2/patches/01-disable-warnings.patch
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/pytest/py2/patches/01-disable-warnings.patch')
-rw-r--r--contrib/python/pytest/py2/patches/01-disable-warnings.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/python/pytest/py2/patches/01-disable-warnings.patch b/contrib/python/pytest/py2/patches/01-disable-warnings.patch
new file mode 100644
index 0000000000..b556f43bc7
--- /dev/null
+++ b/contrib/python/pytest/py2/patches/01-disable-warnings.patch
@@ -0,0 +1,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