From a88df29091b14c6f6cbc9c9da16c3870ac274380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20R=C3=B6thlisberger?= Date: Thu, 29 Feb 2024 10:15:38 +0000 Subject: [PATCH] Work around test discovery bug in VS Code v2024.2.0 https://github.com/microsoft/vscode-python/issues/22999 --- stbt_rig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stbt_rig.py b/stbt_rig.py index e99d6d9..4a0dce3 100755 --- a/stbt_rig.py +++ b/stbt_rig.py @@ -910,8 +910,8 @@ def _update_vscode_config(): "python.envFile": "${workspaceFolder}/.env", "python.testing.nosetestsEnabled": False, "python.testing.pytestArgs": [ - "-p", "stbt_rig", - "-p", "no:python", + "-pstbt_rig", + "-pno:python", "--override-ini=python_files=*.py", "--override-ini=python_functions=test_*", "--tb=no", "--capture=no",