We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ed74f2 commit 6d2e428Copy full SHA for 6d2e428
1 file changed
src/client/terminals/codeExecution/terminalReplWatcher.ts
@@ -9,10 +9,8 @@ function checkREPLCommand(command: string): undefined | 'manualTerminal' | `runn
9
// Check for test commands
10
if (
11
lower.includes('pytest') ||
12
- (lower.startsWith('python') && lower.includes(' -m pytest')) ||
13
- (lower.startsWith('py ') && lower.includes(' -m pytest')) ||
14
- (lower.startsWith('python') && lower.includes(' -m unittest')) ||
15
- (lower.startsWith('py ') && lower.includes(' -m unittest')) ||
+ (lower.startsWith('python') && (lower.includes(' -m pytest') || lower.includes(' -m unittest'))) ||
+ (lower.startsWith('py ') && (lower.includes(' -m pytest') || lower.includes(' -m unittest'))) ||
16
lower.includes('py.test')
17
) {
18
return 'runningTest';
0 commit comments