From 58f05a53069b8feaf53f156f40a60af1162e9580 Mon Sep 17 00:00:00 2001 From: Sebastian Bank Date: Sat, 15 May 2021 14:25:06 +0200 Subject: [PATCH] order user-specified args first --- run-tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run-tests.py b/run-tests.py index 8edfaa83c9..b58e6c7d7e 100755 --- a/run-tests.py +++ b/run-tests.py @@ -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))