Skip to content

Commit 1c5758c

Browse files
author
Dorian Birraux
committed
verbosity = 0 is not overriden anymore
1 parent 07a5246 commit 1c5758c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

wolframclient/cli/commands/test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ def handle(self, *args, **opts):
6969
)
7070

7171
# verbosity > 1 print test name
72-
verbosity = opts.get("verbosity") or 1;
72+
verbosity = opts.get("verbosity")
73+
# for consistency with parser, set default to 2. This is only possible when calling test from setup.py
74+
if verbosity is None:
75+
verbosity = 2
7376
xml_path = opts.get("xml_output_dir")
7477
# if opts.get('produce_xml'):
7578
if xml_path is not None or opts.get("produce_xml"):

0 commit comments

Comments
 (0)