File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/client/terminals/codeExecution Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,8 @@ function checkREPLCommand(command: string): undefined | 'manualTerminal' | `runn
9
9
// Check for test commands
10
10
if (
11
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' ) ) ||
12
+ ( lower . startsWith ( 'python' ) && ( lower . includes ( ' -m pytest' ) || lower . includes ( ' -m unittest' ) ) ) ||
13
+ ( lower . startsWith ( 'py ' ) && ( lower . includes ( ' -m pytest' ) || lower . includes ( ' -m unittest' ) ) ) ||
16
14
lower . includes ( 'py.test' )
17
15
) {
18
16
return 'runningTest' ;
You can’t perform that action at this time.
0 commit comments