--- ruamel-yaml-code-af9628b0d0479c35a60efc44b8d6dff9dc95aed2/_test/test_anchor.py.orig 2021-04-20 17:09:14.371877519 -0600 +++ ruamel-yaml-code-af9628b0d0479c35a60efc44b8d6dff9dc95aed2/_test/test_anchor.py 2021-04-20 17:09:45.359070044 -0600 @@ -7,6 +7,7 @@ testing of anchors and the aliases refer """ import pytest +from distutils.version import LooseVersion from textwrap import dedent import platform @@ -248,6 +249,7 @@ class TestAnchorsAliases: ) # 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): from ruamel.yaml.error import ReusedAnchorWarning