Blame SOURCES/python-ruamel-yaml-pytest27.patch

aca4bc
diff -up ruamel-yaml-171c3653fc01/_test/test_anchor.py.pytest27 ruamel-yaml-171c3653fc01/_test/test_anchor.py
aca4bc
--- ruamel-yaml-171c3653fc01/_test/test_anchor.py.pytest27	2016-09-21 02:09:18.000000000 -0600
aca4bc
+++ ruamel-yaml-171c3653fc01/_test/test_anchor.py	2017-01-31 15:25:09.245847125 -0700
aca4bc
@@ -5,6 +5,7 @@ testing of anchors and the aliases refer
aca4bc
 """
aca4bc
 
aca4bc
 import pytest
aca4bc
+from distutils.version import LooseVersion
aca4bc
 from textwrap import dedent
aca4bc
 import platform
aca4bc
 
aca4bc
@@ -231,6 +232,7 @@ class TestAnchorsAliases:
aca4bc
         """)
aca4bc
 
aca4bc
     # this is an error in PyYAML
aca4bc
+    @pytest.mark.skipif(LooseVersion(pytest.__version__) < LooseVersion("2.8"), reason="Need pytest 2.7")
aca4bc
     def test_reused_anchor(self):
aca4bc
         yaml = '''
aca4bc
         - &a