From b869ac0b0380175f85af41bbd26f6d04be54844b Mon Sep 17 00:00:00 2001 From: chedi toueiti Date: Wed, 28 Aug 2019 14:35:04 +0000 Subject: [PATCH] update to 0.16.5 --- python-ruamel-yaml-pytest27.patch | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/python-ruamel-yaml-pytest27.patch b/python-ruamel-yaml-pytest27.patch index 816ccb7..9ef3da0 100644 --- a/python-ruamel-yaml-pytest27.patch +++ b/python-ruamel-yaml-pytest27.patch @@ -1,19 +1,18 @@ -diff -up ruamel-yaml-171c3653fc01/_test/test_anchor.py.pytest27 ruamel-yaml-171c3653fc01/_test/test_anchor.py ---- ruamel-yaml-171c3653fc01/_test/test_anchor.py.pytest27 2016-09-21 02:09:18.000000000 -0600 -+++ ruamel-yaml-171c3653fc01/_test/test_anchor.py 2017-01-31 15:25:09.245847125 -0700 -@@ -5,6 +5,7 @@ testing of anchors and the aliases refer +diff -u ruamel-yaml-ff02b83b8f91/_test/test_anchor.py.pytest27 ruamel-yaml-ff02b83b8f91/_test/test_anchor.py +--- ruamel-yaml-ff02b83b8f91/_test/test_anchor.py.pytest27 2019-08-27 10:59:01.756747586 +0100 ++++ ruamel-yaml-ff02b83b8f91/_test/test_anchor.py 2019-08-27 11:00:15.929713043 +0100 +@@ -7,6 +7,7 @@ """ - + import pytest +from distutils.version import LooseVersion from textwrap import dedent import platform - -@@ -231,6 +232,7 @@ class TestAnchorsAliases: - """) - + +@@ -248,6 +249,7 @@ + ) + # this is an error in PyYAML + @pytest.mark.skipif(LooseVersion(pytest.__version__) < LooseVersion("2.8"), reason="Need pytest 2.7") def test_reused_anchor(self): - yaml = ''' - - &a + from ruamel.yaml.error import ReusedAnchorWarning