Disable python3 tests

This commit is contained in:
Radek Novacek 2012-11-01 12:44:33 +01:00
parent 3527320b24
commit 98916dcfab

View File

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