Skip to content

Commit 2efab96

Browse files
Mark test_macros_reinit as expected to fail on EL9 (#318)
Mark test_macros_reinit as expected to fail on EL9 rpm -E %dump on EL9 doesn't list builtin macros so the test fails. Reviewed-by: Maja Massarini Reviewed-by: Laura Barcziová
2 parents f4d3437 + 86358e6 commit 2efab96

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/unit/test_macros.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ def test_macros_define():
107107
}
108108

109109

110+
@pytest.mark.xfail(
111+
rpm.__version__ == "4.16.1.3",
112+
reason="rpm 4.16.1.3 doesn't seem to dump builtin macros",
113+
)
110114
def test_macros_reinit():
111115
Macros.reinit(MacroLevel.BUILTIN)
112116
assert all(m.level == MacroLevel.BUILTIN for m in Macros.dump())

0 commit comments

Comments
 (0)