Commit 50b1814f5b10d4f777689407c539eeffd5f159f2

Authored by Miguel Barão
1 parent baeffaea
Exists in master and in 1 other branch dev

minor change in Test.__str__ method

Showing 1 changed file with 0 additions and 4 deletions   Show diff stats
perguntations/test.py
@@ -102,7 +102,3 @@ class Test(dict): @@ -102,7 +102,3 @@ class Test(dict):
102 # ------------------------------------------------------------------------ 102 # ------------------------------------------------------------------------
103 def __str__(self) -> str: 103 def __str__(self) -> str:
104 return '\n'.join([f'{k}: {v}' for k,v in self.items()]) 104 return '\n'.join([f'{k}: {v}' for k,v in self.items()])
105 - # return ('Test:\n'  
106 - # f' student: {self.get("student", "--")}\n'  
107 - # f' start_time: {self.get("start_time", "--")}\n'  
108 - # f' questions: {", ".join(q["ref"] for q in self["questions"])}\n')