From ddbe35c909e48946cd8736280c8d17c8de9340e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sun, 29 Apr 2018 17:00:13 +0000 Subject: [PATCH] Run tests with python2, not python --- python-cryptography.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-cryptography.spec b/python-cryptography.spec index 219b017..57633d9 100644 --- a/python-cryptography.spec +++ b/python-cryptography.spec @@ -134,7 +134,7 @@ popd %check # workaround for pytest 3.2.0 bug https://github.com/pytest-dev/pytest/issues/2644 rm -f tests/hazmat/primitives/test_padding.py -%{__python} setup.py test +%{__python2} setup.py test %if 0%{?with_python3} pushd %{py3dir}