Skip to content
Snippets Groups Projects
Commit c8140b32 authored by tuhe's avatar tuhe
Browse files

updates

parent 687ac54c
No related branches found
No related tags found
No related merge requests found
...@@ -12,13 +12,14 @@ from unitgrade.runners import UTextResult ...@@ -12,13 +12,14 @@ from unitgrade.runners import UTextResult
from unitgrade.utils import gprint, Capturing2, Capturing from unitgrade.utils import gprint, Capturing2, Capturing
colorama.init(autoreset=True) # auto resets your settings after every output colorama.init(autoreset=True) # auto resets your settings after every output
import numpy import numpy
numpy.seterr(all='raise') numpy.seterr(all='raise')
def setup_dir_by_class(C, base_dir): def setup_dir_by_class(C, base_dir):
name = C.__class__.__name__ name = C.__class__.__name__
return base_dir, name return base_dir, name
class Report: class Report:
title = "report title" title = "report title"
abbreviate_questions = False # Should the test items start with 'Question ...' or just be q1). abbreviate_questions = False # Should the test items start with 'Question ...' or just be q1).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment