Skip to content

Commit 90fe638

Browse files
committed
minor fixes
1 parent 49983ff commit 90fe638

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/core/run_tests.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def construct_arg_dict(params_opts, cli_options):
7878

7979
for arg in cli_options:
8080
if "=" in arg:
81-
given_opt, val = arg.split("=")
81+
given_opt, val = arg.split("=", 1)
8282
has_value = True
8383
else:
8484
given_opt = arg
@@ -96,9 +96,9 @@ def construct_arg_dict(params_opts, cli_options):
9696
value = val
9797
else:
9898
if secondary_supplied:
99-
value = not each_param.default
99+
value = False
100100
else:
101-
value = each_param.default
101+
value = True
102102

103103
if each_param.multiple:
104104
if key not in result_dict:

0 commit comments

Comments
 (0)