* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-order/files/
@ 2023-04-05 19:26 Andrew Ammerlaan
0 siblings, 0 replies; only message in thread
From: Andrew Ammerlaan @ 2023-04-05 19:26 UTC (permalink / raw
To: gentoo-commits
commit: e08de01ffd81adb370fcca7f11ca5e77b6af546f
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 5 19:26:03 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Apr 5 19:26:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08de01f
dev-python/pytest-order: drop obsolete patches
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
.../files/pytest-ordering-0.6-fix-pytest-6.patch | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/dev-python/pytest-order/files/pytest-ordering-0.6-fix-pytest-6.patch b/dev-python/pytest-order/files/pytest-ordering-0.6-fix-pytest-6.patch
deleted file mode 100644
index 3a3ea15f4b8e..000000000000
--- a/dev-python/pytest-order/files/pytest-ordering-0.6-fix-pytest-6.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 9bfb05700386254afabb38f762e0ea860b567209 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
-Date: Tue, 26 Jan 2021 20:42:14 +0100
-Subject: [PATCH] Don't use accidental pytest API, fix tests for pytest 6.2+
-
-https://github.com/ftobia/pytest-ordering/pull/76
-
---- a/tests/test_ordering.py
-+++ b/tests/test_ordering.py
-@@ -12,9 +12,9 @@ def item_names_for(testdir):
- def _item_names_for(tests_content):
- # some strange code to extract sorted items
- items = testdir.getitems(tests_content)
-- hook = testdir.config.hook
-+ hook = items[0].config.hook
- hook.pytest_collection_modifyitems(session=items[0].session,
-- config=testdir.config, items=items)
-+ config=items[0].config, items=items)
- return [item.name for item in items]
-
- return _item_names_for
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-05 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 19:26 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-order/files/ Andrew Ammerlaan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox