summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/dogpile-cache/files/dogpile-cache-1.0.2-pytest6.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/dev-python/dogpile-cache/files/dogpile-cache-1.0.2-pytest6.patch b/dev-python/dogpile-cache/files/dogpile-cache-1.0.2-pytest6.patch
deleted file mode 100644
index cc8154822544..000000000000
--- a/dev-python/dogpile-cache/files/dogpile-cache-1.0.2-pytest6.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-commit 625f73ce189b43541636dc40d8d0e4cd4f9a1386
-Author: Louis Sautier <sautier.louis@gmail.com>
-Date: Sat Oct 31 02:23:06 2020 +0100
-
- Support pytest 6
-
- See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent
-
-diff --git a/tests/conftest.py b/tests/conftest.py
-index 10afafb..0b2a1e4 100644
---- a/tests/conftest.py
-+++ b/tests/conftest.py
-@@ -26,6 +26,6 @@ def is_unittest(obj):
-
- def pytest_pycollect_makeitem(collector, name, obj):
- if is_unittest(obj) and not obj.__name__.startswith("_"):
-- return UnitTestCase(name, parent=collector)
-+ return UnitTestCase.from_parent(collector, name=name)
- else:
- return []