(request, monkeypatch)
| 14 | |
| 15 | @pytest.fixture(params=["ruamel-rt", "ruamel-safe", "pyyaml"]) |
| 16 | def backend(request, monkeypatch): |
| 17 | if request.param == "pyyaml": |
| 18 | if not converters.pyyaml_available: |
| 19 | pytest.skip("PyYAML is not installed") |
| 20 | monkeypatch.setattr(converters, "ruamel_available", False) |
| 21 | return {} |
| 22 | if not converters.ruamel_available: |
| 23 | pytest.skip("ruamel.yaml is not installed") |
| 24 | return {"ruamel_typ": request.param.split("-")[1]} |
| 25 | |
| 26 | |
| 27 | class TestYamlOrder: |
nothing calls this directly
no outgoing calls
no test coverage detected