diff --git a/test/test-find-python.js b/test/test-find-python.js index c52a579666..20319f2a52 100644 --- a/test/test-find-python.js +++ b/test/test-find-python.js @@ -17,8 +17,7 @@ test('find python', function (t) { t.strictEqual(err, null) var proc = execFile(found, ['-V'], function (err, stdout, stderr) { t.strictEqual(err, null) - t.strictEqual(stdout, '') - t.ok(/Python 2/.test(stderr)) + t.ok(/Python 2/.test(stderr) || /Python 3/.test(stdout)) }) proc.stdout.setEncoding('utf-8') proc.stderr.setEncoding('utf-8')