diff --git a/python-html2text.spec b/python-html2text.spec
index cfb9963..4516b23 100644
--- a/python-html2text.spec
+++ b/python-html2text.spec
@@ -37,6 +37,7 @@ BuildRequires: python2-pytest
%if %{with python3}
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
+BuildRequires: python3-pytest
%endif
%description
@@ -118,10 +119,10 @@ popd
%check
%if %{with python2}
-%{__python2} setup.py test
+%{__python2} -m pytest
%endif
%if %{with python3}
-#{__python3} setup.py test
+%{__python3} -m pytest
%endif