File project.diff of Package python-jedi

--- python-jedi.spec.orig
+++ python-jedi.spec
@@ -16,6 +16,8 @@
 #
 
 
+%bcond_without test
+
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jedi
 Version:        0.13.2
@@ -62,10 +64,12 @@ implementation as a VIM plugin which use
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%if %{with test}
 %check
 export PYTHONDONTWRITEBYTECODE=1
 export LANG="en_US.UTF-8"
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} test/
+%endif
 
 %files %{python_files}
 %doc AUTHORS.txt CHANGELOG.rst README.rst