Skip to content

Commit ae8e2b3

Browse files
committed
test: drop "-2" flag in test-find-python.js
We no longer use this flag, so testing for it would understandably fail!
1 parent bcafe3a commit ae8e2b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test-find-python.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,14 +146,13 @@ test('find python - no python2, no python, unix', function (t) {
146146
})
147147

148148
test('find python - no python, use python launcher', function (t) {
149-
t.plan(4)
149+
t.plan(3)
150150

151151
var f = new TestPythonFinder(null, done)
152152
f.win = true
153153

154154
f.execFile = function (program, args, opts, cb) {
155155
if (program === 'py.exe') {
156-
t.notEqual(args.indexOf('-2'), -1)
157156
t.notEqual(args.indexOf('-c'), -1)
158157
return cb(null, 'Z:\\snake.exe')
159158
}

0 commit comments

Comments
 (0)