Run tests with python2, not python

This commit is contained in:
Miro Hrončok 2018-04-29 17:00:13 +00:00
parent 0bfc451d28
commit ddbe35c909

View File

@ -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}