If a test gives warnings, then run it again and
the output of statistics() will print the warnings
twice. I think clear warnings after printing them
in statistics() should be OK.
diff --git a/src/algebra/unittest.spad b/src/algebra/unittest.spad
index 98b1f19..06c485e 100644
--- a/src/algebra/unittest.spad
+++ b/src/algebra/unittest.spad
@@ -298,6 +298,7 @@ UnittestCount() : with
messagePrint("WARNINGS:")$O
for w in reverse warnings repeat
output(w)$P
+ warnings := []
output("")$P
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.