From 5f9f5555b69598e5ed887fbca5b975d8e7512015 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 13 Mar 2022 21:01:16 +0100 Subject: [PATCH] ignore depreciated function in coverage --- InvenTree/plugin/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/plugin/plugin.py b/InvenTree/plugin/plugin.py index dce0a1b14b..bef07b308f 100644 --- a/InvenTree/plugin/plugin.py +++ b/InvenTree/plugin/plugin.py @@ -88,6 +88,6 @@ class InvenTreePlugin(InvenTreePluginBase): """ This is here for leagcy reasons and will be removed in the next major release """ - def __init__(self): + def __init__(self): # pragma: no cover warnings.warn("Using the InvenTreePlugin is depreceated", DeprecationWarning) super().__init__()