diff --git a/python-black.changes b/python-black.changes index 40893ac..1407e47 100644 --- a/python-black.changes +++ b/python-black.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 4 13:53:31 UTC 2019 - Tomáš Chvátal + +- Skip randomly failing test (only in OBS) + ------------------------------------------------------------------- Thu Mar 21 15:44:47 UTC 2019 - Tomáš Chvátal diff --git a/python-black.spec b/python-black.spec index 8bcaf4e..2b04a13 100644 --- a/python-black.spec +++ b/python-black.spec @@ -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