@@ -9,15 +9,13 @@ import { PythonSettings } from '../../common/configSettings';
99
1010const pythonSettings = PythonSettings . getInstance ( ) ;
1111
12- const argsToExcludeForDiscovery = [ '--lf' , '--last-failed' , '--markers' , '-x' ,
13- '--exitfirst' , '--maxfail' , '--fixtures' , '--funcargs' , '-pdb' , '--capture' ,
14- '-s' , ' --runxfail' , ' --ff' , '--failed-first' , '--cache-show' , '--cache-clear' ,
15- '-v' , '--verbose' , '-q' , '-quiet' , '-r ' , '--report' , '--tb' , '--color' ,
16- '--durations' , '--pastebin' , '--junit-xml=path' , '--junit-prefix' ,
17- '--result-log' , '--version' , '-h' , '--help' , '--debug' ] ;
18- const settingsInArgsToExcludeForDiscovery = [ '--maxfail' , '--capture' ,
19- '-r ' , '--report' , '--tb' , '--color' , '--durations' , '--pastebin' ,
20- '--junit-xml=path' , '--junit-prefix' , '--result-log' ] ;
12+ const argsToExcludeForDiscovery = [ '-x' , '--exitfirst' ,
13+ '--fixtures-per-test' , '--pdb' , '--runxfail' ,
14+ '--lf' , '--last-failed' , '--ff' , '--failed-first' ,
15+ '--cache-show' , '--cache-clear' ,
16+ '-v' , '--verbose' , '-q' , '-quiet' ,
17+ '--disable-pytest-warnings' , '-l' , '--showlocals' ] ;
18+ const settingsInArgsToExcludeForDiscovery = [ ] ;
2119
2220export function discoverTests ( rootDirectory : string , args : string [ ] , token : vscode . CancellationToken , ignoreCache : boolean ) : Promise < Tests > {
2321 let logOutputLines : string [ ] = [ '' ] ;
0 commit comments