Skip to content

Commit

Permalink
Revert "Default to --no-cov when debugging pytest" (microsoft#21152)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig authored and eleanorjboyd committed May 12, 2023
1 parent 931059b commit 7f8bc67
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/client/testing/testController/pytest/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7f8bc67

Please sign in to comment.