_____________________________________ test_svg_surface_get_document_unit _____________________________________ @pytest.mark.skipif(not hasattr(cairo.SVGSurface, get_document_unit), reason=too old cairo) def test_svg_surface_get_document_unit(): with cairo.SVGSurface(None, 10, 10) as surface: > assert surface.get_document_unit() == cairo.SVGUnit.PT E AssertionError: assert cairo.SVGUnit.USER == cairo.SVGUnit.PT E + where cairo.SVGUnit.USER = () E + where = .get_document_unit E + and cairo.SVGUnit.PT = .PT E + where = cairo.SVGUnit tests/test_surface.py:270: AssertionError ========================================== short test summary info =========================================== FAILED tests/test_surface.py::test_svg_surface_get_document_unit - AssertionError: assert cairo.SVGUnit.USE... ================================== 1 failed, 261 passed, 3 skipped in 0.41s ================================== With 1 failing test indicating too-old-cairo how is Arch building it with the tests?