Skip to content

Commit

Permalink
test: fix Python syntax error in test-adding.js
Browse files Browse the repository at this point in the history
PR-URL: #1793
Reviewed-By: Rod Vagg <rod@vagg.org>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
cclauss authored and rvagg committed Jun 26, 2019
1 parent a991f63 commit 7dd7f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function runDuplicateBindings() {
}

function getEncoding() {
var code = 'import locale;print locale.getdefaultlocale()[1]'
var code = 'import locale;print(locale.getdefaultlocale()[1])'
return execFileSync('python', ['-c', code]).toString().trim()
}

Expand Down

0 comments on commit 7dd7f2b

Please sign in to comment.