aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2025-07-22 20:54:44 +0100
committerGravatar Joe Banks <[email protected]>2025-07-22 20:54:44 +0100
commit111c06399d3477f3680320307547eb85891b055b (patch)
tree279f604893fd84a4195c990ed1312351b1247c8a
parentAdd dynamic module loading fix for dataclasses (diff)
KUTIEKAT ALWAYS LINTS BEFORE PUSHING
-rw-r--r--resources/unittest_template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/unittest_template.py b/resources/unittest_template.py
index 5cdb8ec..28dd588 100644
--- a/resources/unittest_template.py
+++ b/resources/unittest_template.py
@@ -57,7 +57,7 @@ def _load_user_module(result_writer, exit_wrapper: _EXIT_WRAPPER_TYPE) -> Module
# if from __future__ import annotations is also used
# See: https://github.com/mkdocs/mkdocs/issues/3141 and https://github.com/sqlalchemy/alembic/issues/1419
sys.modules[_module.__name__] = _module
-
+
exec(code, _module.__dict__)
return _module