From 0edca4b32ac87e3a72a3be41adbda01c4fec3f94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 20 Mar 2019 11:52:22 +0100 Subject: [PATCH] Support pytest 4 https://bitbucket.org/mchaput/whoosh/pull-requests/86 --- python-whoosh.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-whoosh.spec b/python-whoosh.spec index 4d9e6dd..d009972 100644 --- a/python-whoosh.spec +++ b/python-whoosh.spec @@ -40,6 +40,8 @@ works can be extended or replaced to meet your needs exactly. %prep %setup -q -n %{mod_name}-%{version} +# pytest 4 +sed -i 's/\[pytest\]/\[tool:pytest\]/' setup.cfg %build %py3_build