Skip to content

Commit 8a35fef

Browse files
author
Peter Amstutz
committed
Add --debug to test to try and diagnose appveyor error
1 parent d05b78b commit 8a35fef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_toolargparse.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ def test_dont_require_inputs():
120120
script.write(script_a)
121121
script.close()
122122

123-
assert main(argsl=[script.name, "--input", script.name], executor=NoopJobExecutor()) == 0
124-
assert main(argsl=[script.name], executor=NoopJobExecutor()) == 2
125-
assert main(argsl=[script.name], executor=NoopJobExecutor(), input_required=False) == 0
123+
assert main(argsl=["--debug", script.name, "--input", script.name], executor=NoopJobExecutor()) == 0
124+
assert main(argsl=["--debug", script.name], executor=NoopJobExecutor()) == 2
125+
assert main(argsl=["--debug", script.name], executor=NoopJobExecutor(), input_required=False) == 0
126126

127127
except SystemExit as err:
128128
assert err.code == 0, name

0 commit comments

Comments
 (0)