From fa026d460c376e5c2cb2ab5b004021264ffaaae6 Mon Sep 17 00:00:00 2001 From: Nikolay Kondratyev <4085884+kondratyev-nv@users.noreply.github.com> Date: Fri, 6 Aug 2021 12:16:25 +0100 Subject: [PATCH 1/2] Fix order of default unittest arguments --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5028bbf93893..5f0fa5eb0d34 100644 --- a/package.json +++ b/package.json @@ -1216,11 +1216,11 @@ }, "python.testing.unittestArgs": { "default": [ - "*test*.py", - "-p", - "-s", "-v", - "." + "-s", + ".", + "-p", + "*test*.py" ], "description": "Arguments passed in. Each argument is a separate item in the array.", "items": { From 8822aa7231e55c3d0c0bd285831f655cf5cf7a80 Mon Sep 17 00:00:00 2001 From: Nikolay Kondratyev <4085884+kondratyev-nv@users.noreply.github.com> Date: Fri, 6 Aug 2021 17:12:57 +0100 Subject: [PATCH 2/2] Add news entry --- news/2 Fixes/16882.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 news/2 Fixes/16882.md diff --git a/news/2 Fixes/16882.md b/news/2 Fixes/16882.md new file mode 100644 index 000000000000..8ba3c1178b3b --- /dev/null +++ b/news/2 Fixes/16882.md @@ -0,0 +1,2 @@ +Fix the order of default unittest arguments. +(thanks [Nikolay Kondratyev](https://github.com/kondratyev-nv/))