summaryrefslogtreecommitdiff
path: root/tests/test_recursiveloader.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-13 20:56:45 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-13 20:56:58 +0200
commit932563f53c9e3662dd028df48f0ec092f3e8dcf1 (patch)
tree5c178467c99c3774ef4a9b61c3b08eb6f821f114 /tests/test_recursiveloader.py
parent92ec7c93c20a14cbdfb48eaaf169bb1f0cbde74e (diff)
downloadgemato-932563f53c9e3662dd028df48f0ec092f3e8dcf1.tar.gz
Fix linter failure
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'tests/test_recursiveloader.py')
-rw-r--r--tests/test_recursiveloader.py2
1 files changed, 1 insertions, 1 deletions
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)