From e0e87efb8c28af9c709f6a3bd8b4fe275aa13b12 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Mar 2022 20:53:49 +0100 Subject: [PATCH] do not cover old import --- InvenTree/plugin/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/registry.py b/InvenTree/plugin/registry.py index 40a4a4e2d9..a79395745b 100644 --- a/InvenTree/plugin/registry.py +++ b/InvenTree/plugin/registry.py @@ -21,7 +21,7 @@ from django.utils.text import slugify try: from importlib import metadata -except: +except: # pragma: no cover import importlib_metadata as metadata # TODO remove when python minimum is 3.8