- Skip test test_tests_are_colorized_by_test_result as pytest 5.3

tweaked color output a bit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-relaxed?expand=0&rev=6
This commit is contained in:
Tomáš Chvátal 2020-01-15 12:51:17 +00:00 committed by Git OBS Bridge
parent 1991df8199
commit b1f6a32c99
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 15 12:51:01 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Skip test test_tests_are_colorized_by_test_result as pytest 5.3
tweaked color output a bit
-------------------------------------------------------------------
Mon Jun 17 10:49:38 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-relaxed
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,6 @@ Version: 1.1.5
Release: 0
Summary: Relaxed test discovery/organization for pytest
License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://github.com/bitprophet/pytest-relaxed
Source: https://files.pythonhosted.org/packages/source/p/pytest-relaxed/pytest-relaxed-%{version}.tar.gz
BuildRequires: %{python_module decorator >= 4}
@ -56,7 +55,8 @@ export LANG=en_US.UTF-8
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# test_tests_are_colorized_by_test_result upstream changed color output slightly in pytest 5.3
%pytest -k 'not test_tests_are_colorized_by_test_result'
%files %{python_files}
%license LICENSE