From f2e1f8507168db8cddf6fce1a7745f5b532e43b81cc9846a2ebf6657e0974bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 10 Mar 2020 10:44:09 +0000 Subject: [PATCH] - 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 --- python-svgwrite.changes | 6 ++++++ python-svgwrite.spec | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/python-svgwrite.changes b/python-svgwrite.changes index bdd69cf..af16f83 100644 --- a/python-svgwrite.changes +++ b/python-svgwrite.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 10 10:43:52 UTC 2020 - Tomáš Chvátal + +- 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 diff --git a/python-svgwrite.spec b/python-svgwrite.spec index 6c20412..e47a89f 100644 --- a/python-svgwrite.spec +++ b/python-svgwrite.spec @@ -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