Miro Hrončok 2019-05-13 15:34:51 +02:00
parent 080edf5105
commit a7f7f7376f

View File

@ -129,11 +129,12 @@ popd
%check
%{__python2} setup.py test
# see https://github.com/pyca/cryptography/issues/4885 for the deselected test
PYTHONPATH=%{buildroot}%{python2_sitearch} %{__python2} -m pytest -k "not test_buffer_protocol_alternate_modes[mode5]"
%if 0%{?with_python3}
pushd %{py3dir}
%{__python3} setup.py test
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m pytest -k "not test_buffer_protocol_alternate_modes[mode5]"
popd
%endif