diff --git a/tests/pytests/unit/modules/test_aptpkg.py b/tests/pytests/unit/modules/test_aptpkg.py index a2195ac731f9..e2937c9e9367 100644 --- a/tests/pytests/unit/modules/test_aptpkg.py +++ b/tests/pytests/unit/modules/test_aptpkg.py @@ -1183,6 +1183,7 @@ def test_list_repos(): assert repos[source_uri][0]["uri"][-1] == "/" +@pytest.mark.filterwarnings("RuntimeError") def test__expand_repo_def(): """ Checks results from _expand_repo_def