MCPcopy Index your code
hub / github.com/extrabacon/python-shell / runSingleErrorScript

Function runSingleErrorScript

test/test-python-shell.ts:215–222  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

213 }
214 }
215 function runSingleErrorScript(callback) {
216 PythonShell.run('error.py', null).catch((err) => {
217 err.should.be.an.Error;
218 err.exitCode.should.be.exactly(1);
219 err.stack.should.containEql('----- Python Traceback -----');
220 callback();
221 });
222 }
223 });
224
225 it('should run multiple scripts and return output data for each of them', function (done) {

Callers 1

Calls 1

runMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…