diff --git a/src/unitgrade/framework.py b/src/unitgrade/framework.py index 09bc0549b11333b73988b475dace3c912e053496..badb2d45ba89d597c131d6aed192f7ef38d9c493 100644 --- a/src/unitgrade/framework.py +++ b/src/unitgrade/framework.py @@ -480,7 +480,7 @@ class UTestCase(unittest.TestCase): CC = self._cache_get(key) cl, m = self.cache_id() gprint(f"> An error occured while solving: {cl}.{m}. The files/methods you need to edit are:") # For the test {id} in {file} you should edit:") - for file in CC: + for file in CC: rec = CC[file] gprint(f"> * {file}") for l in rec: @@ -492,6 +492,7 @@ class UTestCase(unittest.TestCase): gprint(f"> - {l}") er = er[0] + doc = er._testMethodDoc # print("doc", doc) if doc is not None: