@@ -251,6 +251,7 @@ class UTestCase(unittest.TestCase):
if"def"inlines2[j]or"class"inlines2[j]:
break
fromsnipper.legacyimportgcoms
fun=lines2[j]
comments,_=gcoms("\n".join(lines2[j:l]))
ifrelnotincc:
...
...
@@ -479,7 +480,8 @@ class UTestCase(unittest.TestCase):
ifself._cache_contains(key):
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:")
# Insert newline to get better formatting.
gprint(f"\n> An error occured during the test: {cl}.{m}. The following files/methods has code in them you are supposed to edit and may therefore be the cause of the problem:")