python2-filelock is gone in F30, so skip those tests for Python 2

epel9
Scott Talbert 6 years ago
parent 607d096c20
commit ea1c2e7175

@ -26,7 +26,6 @@ BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python2-execnet
BuildRequires: python3-execnet
BuildRequires: python2-filelock
BuildRequires: python3-filelock
BuildRequires: python2-pytest
BuildRequires: python3-pytest
@ -74,7 +73,7 @@ Requires: python3-py
%py3_install
%check
PYTHONPATH=%{buildroot}%{python2_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{python2_version} testing
PYTHONPATH=%{buildroot}%{python2_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{python2_version} testing -k "not TestLocking"
PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{python3_version} testing

Loading…
Cancel
Save