diff --git a/poetry.lock b/poetry.lock
index 3a26dfc0..93d073e4 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -657,7 +657,7 @@ testing = ["coverage (>=6.2)", "flaky (>=3.5.0)", "hypothesis (>=5.7.1)", "mypy
 
 [[package]]
 name = "pytest-cov"
-version = "3.0.0"
+version = "4.0.0"
 description = "Pytest plugin for measuring coverage."
 category = "dev"
 optional = false
@@ -921,7 +921,7 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools"
 [metadata]
 lock-version = "1.1"
 python-versions = "^3.7,<=3.11"
-content-hash = "af033b91d5952144928ede374068f343881c4f5da75848cd6b4954010d41be90"
+content-hash = "bb49cd1305f4efc93a57450ad8972cc4a3c3c1cf2575f140a4e9465de54caabe"
 
 [metadata.files]
 aioredis = [
@@ -1296,8 +1296,8 @@ pytest-asyncio = [
     {file = "pytest_asyncio-0.19.0-py3-none-any.whl", hash = "sha256:7a97e37cfe1ed296e2e84941384bdd37c376453912d397ed39293e0916f521fa"},
 ]
 pytest-cov = [
-    {file = "pytest-cov-3.0.0.tar.gz", hash = "sha256:e7f0f5b1617d2210a2cabc266dfe2f4c75a8d32fb89eafb7ad9d06f6d076d470"},
-    {file = "pytest_cov-3.0.0-py3-none-any.whl", hash = "sha256:578d5d15ac4a25e5f961c938b85a05b09fdaae9deef3bb6de9a6e766622ca7a6"},
+    {file = "pytest-cov-4.0.0.tar.gz", hash = "sha256:996b79efde6433cdbd0088872dbc5fb3ed7fe1578b68cdbba634f14bb8dd0470"},
+    {file = "pytest_cov-4.0.0-py3-none-any.whl", hash = "sha256:2feb1b751d66a8bd934e5edfa2e961d11309dc37b73b0eabe73b5945fee20f6b"},
 ]
 pytest-forked = [
     {file = "pytest-forked-1.4.0.tar.gz", hash = "sha256:8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e"},
diff --git a/pyproject.toml b/pyproject.toml
index 3e0ee84c..4f6fe211 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -56,7 +56,7 @@ isort = "^5.9.3"
 flake8 = "^5.0.4"
 bandit = "^1.7.4"
 coverage = "^6.4"
-pytest-cov = "^3.0.0"
+pytest-cov = "^4.0.0"
 pytest-xdist = "^2.5.0"
 unasync = "^0.5.0"
 pytest-asyncio = "^0.19.0"