aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-02-27 17:00:53 +0100
committerGravatar Matteo Bertucci <[email protected]>2021-02-27 17:00:53 +0100
commit0e4a95b584f20f22e61314483147e81b0dcb5354 (patch)
treed9c4235b8ba79c5d168e24c812598e39b00d5679
parentUse base64 encoded code snippets (diff)
Obliterate the _unit_cache variable
-rw-r--r--backend/routes/forms/unittesting.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/backend/routes/forms/unittesting.py b/backend/routes/forms/unittesting.py
index b12cff2..3854314 100644
--- a/backend/routes/forms/unittesting.py
+++ b/backend/routes/forms/unittesting.py
@@ -15,9 +15,6 @@ with open("resources/unittest_template.py") as file:
UnittestResult = namedtuple("UnittestResult", "question_id return_code passed result")
-# Mapping of questions to their generated
-_unit_cache: dict[str, str] = {}
-
def filter_unittests(form: Form) -> Form:
"""