Skip to content

Commit 042de94

Browse files
committed
fix(tests): stop using deprecated method
1 parent 5b6c316 commit 042de94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test-python-shell.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,13 +534,13 @@ describe('PythonShell', function () {
534534
pyshell.terminated.should.be.true
535535
done();
536536
});
537-
it('terminate with correct kill signal', function (done) {
537+
it('kill with correct signal', function (done) {
538538
let pyshell = new PythonShell('infinite_loop.py');
539539
let endCalled = false;
540540
pyshell.end(() => {
541541
endCalled = true;
542542
})
543-
pyshell.terminate('SIGKILL');
543+
pyshell.kill('SIGKILL');
544544
pyshell.terminated.should.be.true;
545545
setTimeout(() => { pyshell.exitSignal.should.be.exactly('SIGKILL'); }, 500);
546546
done();

0 commit comments

Comments
 (0)