diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -61,7 +61,7 @@ extras["test"] = (
         extras["all"],
         "tox",
         "flake8",
-        "pytest",
+        "pytest<6.1.0",
         "pytest-cov",
         "pytest-rerunfailures",
         "pytest-xdist",
fix: pin pytest version <<I> to avoid pytest-rerunfailures breaking changes (#<I>)