forked from pool/python-libcst
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=3
This commit is contained in:
parent
2ba3ad95cc
commit
6fc8cd25f7
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user