From 932563f53c9e3662dd028df48f0ec092f3e8dcf1 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 13 Sep 2022 20:56:45 +0200 Subject: Fix linter failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- tests/test_recursiveloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_recursiveloader.py') diff --git a/tests/test_recursiveloader.py b/tests/test_recursiveloader.py index a8ef939..6bd66d4 100644 --- a/tests/test_recursiveloader.py +++ b/tests/test_recursiveloader.py @@ -1987,7 +1987,7 @@ def test_update_entry_unknown_hash(layout_factory, layout, path): tmp_path = layout_factory.create(layout) m = ManifestRecursiveLoader(tmp_path / layout.TOP_MANIFEST, allow_xdev=False) - with pytest.raises(KeyError) as exc: + with pytest.raises(KeyError): m.update_entry_for_path(path) -- cgit v1.2.3