From c8140b32ba4ad833034ebdbbddcabdd52e815b2a Mon Sep 17 00:00:00 2001 From: Tue Herlau <tuhe@dtu.dk> Date: Mon, 23 May 2022 16:32:49 +0200 Subject: [PATCH] updates --- src/unitgrade/framework.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/unitgrade/framework.py b/src/unitgrade/framework.py index c406aec..ce06d0d 100644 --- a/src/unitgrade/framework.py +++ b/src/unitgrade/framework.py @@ -12,13 +12,14 @@ from unitgrade.runners import UTextResult from unitgrade.utils import gprint, Capturing2, Capturing colorama.init(autoreset=True) # auto resets your settings after every output import numpy + numpy.seterr(all='raise') def setup_dir_by_class(C, base_dir): name = C.__class__.__name__ return base_dir, name - + class Report: title = "report title" abbreviate_questions = False # Should the test items start with 'Question ...' or just be q1). -- GitLab