From 26b6255420750510bbe50d926835e7064469e920 Mon Sep 17 00:00:00 2001 From: Eleanor Boyd Date: Wed, 25 Oct 2023 14:40:45 -0700 Subject: [PATCH] fix small logging issues for testing deprecation & duplicate log (#22349) fixes https://github.com/microsoft/vscode-python/issues/22327 --- src/client/testing/testController/common/utils.ts | 2 +- src/client/testing/testController/controller.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/client/testing/testController/common/utils.ts b/src/client/testing/testController/common/utils.ts index 5022fa5a44e6..48e7fd3f2dd7 100644 --- a/src/client/testing/testController/common/utils.ts +++ b/src/client/testing/testController/common/utils.ts @@ -51,7 +51,7 @@ export const MESSAGE_ON_TESTING_OUTPUT_MOVE = 'Starting now, all test run output will be sent to the Test Result panel,' + ' while test discovery output will be sent to the "Python" output channel instead of the "Python Test Log" channel.' + ' The "Python Test Log" channel will be deprecated within the next month.' + - 'See https://github.com/microsoft/vscode-python/wiki/New-Method-for-Output-Handling-in-Python-Testing for details.'; + ' See https://github.com/microsoft/vscode-python/wiki/New-Method-for-Output-Handling-in-Python-Testing for details.'; export function createTestingDeferred(): Deferred { return createDeferred(); diff --git a/src/client/testing/testController/controller.ts b/src/client/testing/testController/controller.ts index 329326d84af9..bc9d2ca8299f 100644 --- a/src/client/testing/testController/controller.ts +++ b/src/client/testing/testController/controller.ts @@ -290,7 +290,6 @@ export class PythonTestController implements ITestController, IExtensionSingleAc } else if (settings.testing.unittestEnabled) { if (pythonTestAdapterRewriteEnabled(this.serviceContainer)) { traceInfo(`Running discovery for unittest using the new test adapter.`); - traceInfo(`Running discovery for pytest using the new test adapter.`); if (workspace && workspace.uri) { const testAdapter = this.testAdapters.get(workspace.uri); if (testAdapter) {