Skip to content

Commit 99fc82f

Browse files
karthiknadigeleanorjboyd
authored andcommitted
Revert "Default to --no-cov when debugging pytest" (microsoft#21152)
Reverts microsoft#21048 Closes microsoft#21146 Related microsoft#19985
1 parent 0aa470e commit 99fc82f

File tree

1 file changed

+0
-4
lines changed
  • src/client/testing/testController/pytest

1 file changed

+0
-4
lines changed

src/client/testing/testController/pytest/runner.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,6 @@ export class PytestRunner implements ITestsRunner {
9595
testArgs.push('--capture', 'no');
9696
}
9797

98-
if (options.debug && !testArgs.some((a) => a.startsWith('--no-cov'))) {
99-
testArgs.push('--no-cov');
100-
}
101-
10298
// Positional arguments control the tests to be run.
10399
const rawData = idToRawData.get(testNode.id);
104100
if (!rawData) {

0 commit comments

Comments
 (0)