From b1f6a32c99860520be695b1afe08397711e02bfe47b6a92fe2e846269f0ab719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 15 Jan 2020 12:51:17 +0000 Subject: [PATCH] - 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 --- python-pytest-relaxed.changes | 6 ++++++ python-pytest-relaxed.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-pytest-relaxed.changes b/python-pytest-relaxed.changes index 6d6116c..5427954 100644 --- a/python-pytest-relaxed.changes +++ b/python-pytest-relaxed.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 15 12:51:01 UTC 2020 - Tomáš Chvátal + +- 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 diff --git a/python-pytest-relaxed.spec b/python-pytest-relaxed.spec index 981697c..6fcbde3 100644 --- a/python-pytest-relaxed.spec +++ b/python-pytest-relaxed.spec @@ -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