15
0

- Skip two tests that fail due to changes in pytest framework

needs to be fixed by upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-incremental?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2020-04-29 13:36:17 +00:00
committed by Git OBS Bridge
parent db535937e6
commit f8067a33f2
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 29 13:35:51 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Skip two tests that fail due to changes in pytest framework
needs to be fixed by upstream
-------------------------------------------------------------------
Thu Jun 6 15:38:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-incremental
#
# 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
@@ -30,7 +30,6 @@ Version: 17.5.0
Release: 0
Summary: Library that versions your Python projects
License: MIT
Group: Development/Languages/Python
URL: https://github.com/twisted/incremental
Source: https://files.pythonhosted.org/packages/source/i/incremental/incremental-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
@@ -63,7 +62,9 @@ Incremental is a small library that versions your Python projects.
%if %{with test}
%check
%pytest
# test_prereleaseAttributeDeprecated - same as bellow
# test_prereleaseDeprecated - uses deprecated pytest behaviour removed with pytest 5.4
%pytest -k 'not test_prereleaseAttributeDeprecated and not test_prereleaseDeprecated'
%endif
%if !%{with test}