Disable python3 tests
This commit is contained in:
parent
3527320b24
commit
98916dcfab
@ -27,8 +27,6 @@ BuildRequires: python-nose
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools >= 0:0.6a9
|
||||
# For running tests
|
||||
BuildRequires: python3-nose
|
||||
%endif # if with_python3
|
||||
|
||||
# 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
|
||||
popd
|
||||
|
||||
%if 0%{?with_python3}
|
||||
pushd $RPM_BUILD_ROOT/%{python3_sitelib}
|
||||
# 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
|
||||
# Tests are failing in python3 because of collision between
|
||||
# local and stdlib tokenize module
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
Loading…
Reference in New Issue
Block a user