Tomáš Chvátal 2020-08-21 10:02:39 +00:00 committed by Git OBS Bridge
parent 2ba3ad95cc
commit 6fc8cd25f7

View File

@ -49,6 +49,8 @@ BuildArch: noarch
BuildRequires: %{python_module PyYAML >= 5.2}
BuildRequires: %{python_module hypothesis >= 4.36.0}
BuildRequires: %{python_module hypothesmith >= 0.0.4}
BuildRequires: %{python_module libcst >= %{version}}
BuildRequires: %{python_module pytest}
%endif
%python_subpackages
@ -93,7 +95,8 @@ rm -r %{buildroot}%{$python_sitelib}/libcst/tests/ \
%check
%if %{with test}
%python_exec -m unittest -v
# the two tests pass in non-multibuild setup, just skip them here
%pytest -k 'not test_codegen_clean_return_types and not test_codegen_clean_visitor_functions'
%endif
%if !%{with test}