From 7d6b50b302714b9708d2fa64a08bd67f3fa69a12 Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Tue, 9 Nov 2021 16:54:49 +0800 Subject: [PATCH] Uses pytest-3 instead of pytest The command pytest is provided by python2-pytest, here we should use pytest-3 for python3 package. --- python-paste-deploy.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-paste-deploy.spec b/python-paste-deploy.spec index 64f01e7..39c4d83 100644 --- a/python-paste-deploy.spec +++ b/python-paste-deploy.spec @@ -73,7 +73,7 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -pytest +PYTHONPATH=. pytest-3 %files -n python3-paste-deploy -f filelist.lst