Skip to content

Commit

Permalink
order user-specified args first
Browse files Browse the repository at this point in the history
  • Loading branch information
xflr6 committed May 15, 2021
1 parent ad63bb9 commit 58f05a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
if 'idlelib' in sys.modules:
ARGS += ['--capture=sys', '--color=no']

args = ARGS + sys.argv[1:]
args = sys.argv[1:] + ARGS

print(f'pytest.main({args!r})')
sys.exit(pytest.main(args))

0 comments on commit 58f05a5

Please sign in to comment.