From 7dd7f2b2a24a1c748e5bd228b60c7f7500ff4796 Mon Sep 17 00:00:00 2001 From: cclauss Date: Fri, 21 Jun 2019 18:27:43 +0200 Subject: [PATCH] test: fix Python syntax error in test-adding.js PR-URL: https://github.com/nodejs/node-gyp/pull/1793 Reviewed-By: Rod Vagg Reviewed-By: Ben Noordhuis --- test/test-addon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-addon.js b/test/test-addon.js index 5334ab0b18..ce447bf365 100644 --- a/test/test-addon.js +++ b/test/test-addon.js @@ -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() }