14
0
forked from pool/python-black

Accepting request 707610 from devel:languages:python

- Skip randomly failing test (only in OBS)

OBS-URL: https://build.opensuse.org/request/show/707610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-black?expand=0&rev=4
This commit is contained in:
2019-06-14 18:24:27 +00:00
committed by Git OBS Bridge
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 4 13:53:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Skip randomly failing test (only in OBS)
-------------------------------------------------------------------
Thu Mar 21 15:44:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

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