summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index 8e09cd0d..2048d161 100644
--- a/igor.py
+++ b/igor.py
@@ -28,6 +28,12 @@ warnings.simplefilter("default")
# Silence specific warnings that are not our fault.
warnings.filterwarnings("ignore", module="xdist", message="type argument to addoption")
+warnings.filterwarnings(
+ # https://github.com/pytest-dev/pytest/issues/2118
+ "ignore",
+ module="_pytest",
+ message="This usage is deprecated, please use pytest.* instead"
+)
@contextlib.contextmanager