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
99 // Check for test commands
1010 if (
1111 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' ) ) ) ||
1614 lower . includes ( 'py.test' )
1715 ) {
1816 return 'runningTest' ;
You can’t perform that action at this time.
0 commit comments