From 93650514499e30c0131aff66663b1addaa1aeac1 Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Fri, 21 Jul 2017 13:55:06 -0400 Subject: [PATCH] Run the tests with pytest rather than nose Signed-off-by: Jeremy Cline --- python-urllib3.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-urllib3.spec b/python-urllib3.spec index 5afc2aa..2ed6f09 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -119,8 +119,8 @@ cp %{python3_sitelib}/six.* %{buildroot}/%{python3_sitelib}/. %check -nosetests -nosetests-%{python3_version} +py.test +py.test-3 # And after its done, remove our copied in bits rm -rf %{buildroot}/%{python2_sitelib}/six*