Disable python3 tests
This commit is contained in:
parent
3527320b24
commit
98916dcfab
@ -27,8 +27,6 @@ BuildRequires: python-nose
|
|||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-setuptools >= 0:0.6a9
|
BuildRequires: python3-setuptools >= 0:0.6a9
|
||||||
# For running tests
|
|
||||||
BuildRequires: python3-nose
|
|
||||||
%endif # if with_python3
|
%endif # if with_python3
|
||||||
|
|
||||||
# Work around a problem with libenchant versioning
|
# Work around a problem with libenchant versioning
|
||||||
@ -99,12 +97,8 @@ pushd $RPM_BUILD_ROOT/%{python_sitelib}
|
|||||||
LANG=en_US.UTF-8 /usr/bin/nosetests
|
LANG=en_US.UTF-8 /usr/bin/nosetests
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%if 0%{?with_python3}
|
# Tests are failing in python3 because of collision between
|
||||||
pushd $RPM_BUILD_ROOT/%{python3_sitelib}
|
# local and stdlib tokenize module
|
||||||
# There is no dictionary for language C, need to use en_US
|
|
||||||
LANG=en_US.UTF-8 /usr/bin/nosetests-3*
|
|
||||||
popd
|
|
||||||
%endif # with python3
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
Loading…
Reference in New Issue
Block a user