forked from pool/python-black
- Skip randomly failing test (only in OBS)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
6c21de215b
commit
f869789d74
@@ -31,6 +31,7 @@ BuildRequires: %{python_module appdirs}
|
||||
BuildRequires: %{python_module attrs >= 18.1.0}
|
||||
BuildRequires: %{python_module base >= 3.6}
|
||||
BuildRequires: %{python_module click >= 6.5}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module toml >= 0.9.4}
|
||||
BuildRequires: fdupes
|
||||
@@ -65,10 +66,9 @@ rm -rf %{pypi_name}.egg-info
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{python_version_nodots} >= 37
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
# test_expression_diff - sometimes fails on async timing in OBS
|
||||
%pytest -k 'not test_expression_diff'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user