From 9fb3fcfd2fd0c3ea971656a00f32789945abd2f6 Mon Sep 17 00:00:00 2001 From: Zac Hatfield-Dodds Date: Tue, 9 Oct 2018 15:55:03 +0200 Subject: [PATCH] Tests no longer fail with a DeprecationWarning for users of pluggy<0.6. Closes #1630 --- hypothesis-python/tests/common/setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hypothesis-python/tests/common/setup.py b/hypothesis-python/tests/common/setup.py index 7698b18306..1897877941 100644 --- a/hypothesis-python/tests/common/setup.py +++ b/hypothesis-python/tests/common/setup.py @@ -33,6 +33,9 @@ def run(): filterwarnings('ignore', category=ImportWarning) filterwarnings('ignore', category=FutureWarning, module='pandas._version') + # Fixed in recent versions but allowed by pytest=3.0.0; see #1630 + filterwarnings('ignore', category=DeprecationWarning, module='pluggy') + # See https://github.com/numpy/numpy/pull/432 filterwarnings('ignore', message='numpy.dtype size changed') filterwarnings('ignore', message='numpy.ufunc size changed')