14
0

- Skip one test that started to fail with python 3.8:

* test_pretty_print

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-svgwrite?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2020-03-10 10:44:09 +00:00
committed by Git OBS Bridge
parent 993f55775e
commit f2e1f85071
2 changed files with 9 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 10 10:43:52 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Skip one test that started to fail with python 3.8:
* test_pretty_print
-------------------------------------------------------------------
Mon Jul 22 12:44:34 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-svgwrite
#
# 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.3.1
Release: 0
Summary: Python module for creating SVG drawings
License: MIT
Group: Development/Languages/Python
URL: https://github.com/mozman/svgwrite
Source: https://files.pythonhosted.org/packages/source/s/svgwrite/svgwrite-%{version}.zip
BuildRequires: %{python_module setuptools}
@@ -54,7 +53,8 @@ sed -i 's/\r$//' LICENSE.TXT NEWS.rst README.rst
%check
# test_embed_google_web_font - asks google for data
%pytest -k 'not test_embed_google_web_font'
# test_pretty_print - fails on python 3.8 because xml output is now ordering tags
%pytest -k 'not test_embed_google_web_font and not test_pretty_print'
%files %{python_files}
%doc NEWS.rst README.rst