File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -692,9 +692,8 @@ export class PythonDebugger extends DebugSession {
692692 }
693693
694694 }
695- // For some reason on python 3.5 iterating through generators throws the StopIteration, GeneratorExit Exceptions
696- // https://docs.python.org/2/library/exceptions.html#exceptions.StandardError
697- // Lets ignore them
695+ // Ignore StopIteration and GeneratorExit as they are used for
696+ // control flow and not error conditions.
698697 if ( ! exToIgnore . has ( 'StopIteration' ) ) {
699698 exToIgnore . set ( 'StopIteration' , enum_EXCEPTION_STATE . BREAK_MODE_NEVER ) ;
700699 }
Original file line number Diff line number Diff line change @@ -133,20 +133,20 @@ async function selectTestRunner(placeHolderMessage: string): Promise<UnitTestPro
133133 label : 'unittest' ,
134134 product : Product . unittest ,
135135 description : 'Standard Python test framework' ,
136- detail : 'https://docs.python.org/2 /library/unittest.html'
136+ detail : 'https://docs.python.org/3 /library/unittest.html'
137137 } ,
138138 {
139139 label : 'pytest' ,
140140 product : Product . pytest ,
141141 description : 'Can run unittest (including trial) and nose test suites out of the box' ,
142142 // tslint:disable-next-line:no-http-string
143- detail : 'http://docs.pytest.org/en/latest/ '
143+ detail : 'http://docs.pytest.org/'
144144 } ,
145145 {
146146 label : 'nose' ,
147147 product : Product . nosetest ,
148148 description : 'nose framework' ,
149- detail : 'https://docs.python.org/2/library/unittest.html '
149+ detail : 'https://nose.readthedocs.io/ '
150150 } ] ;
151151 const options = {
152152 matchOnDescription : true ,
You can’t perform that action at this time.
0 commit comments