From 7e8f6b84869043e21c8cb47c41d6aca91923e1af Mon Sep 17 00:00:00 2001 From: Silas Kraume Date: Fri, 5 Jan 2024 16:30:11 +0100 Subject: [PATCH] fix semantic error --- cat_win/tests/mocks/error.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cat_win/tests/mocks/error.py b/cat_win/tests/mocks/error.py index a4f41521..e3cfdba7 100644 --- a/cat_win/tests/mocks/error.py +++ b/cat_win/tests/mocks/error.py @@ -6,6 +6,7 @@ class ErrorDefGen: """ generate a function that raises a specific error """ + @staticmethod def get_def(error: Exception): """ return a function that raises a specific error