diff --git a/src/client/testing/testController/pytest/runner.ts b/src/client/testing/testController/pytest/runner.ts index 83da819b861a..2c6cff724398 100644 --- a/src/client/testing/testController/pytest/runner.ts +++ b/src/client/testing/testController/pytest/runner.ts @@ -95,10 +95,6 @@ export class PytestRunner implements ITestsRunner { testArgs.push('--capture', 'no'); } - if (options.debug && !testArgs.some((a) => a.startsWith('--no-cov'))) { - testArgs.push('--no-cov'); - } - // Positional arguments control the tests to be run. const rawData = idToRawData.get(testNode.id); if (!rawData) {