Skip to content

Commit c2ba5c2

Browse files
committed
#108 making unit tests p3 compatible
1 parent ed7036c commit c2ba5c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test-python-shell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ describe('PythonShell', function () {
261261
it('should emit error when data is written to stderr', function (done) {
262262
var pyshell = new PythonShell('error.py');
263263
pyshell.on('error', function (err) {
264-
err.message.should.be.exactly('ZeroDivisionError: integer division or modulo by zero');
264+
err.message.should.be.equalOneOf('ZeroDivisionError: integer division or modulo by zero','ZeroDivisionError: division by zero');
265265
err.should.have.property('traceback');
266266
err.traceback.should.containEql('Traceback (most recent call last)');
267267
done();

0 commit comments

Comments
 (0)