diff --git a/tests/test_other.py b/tests/test_other.py index 7876ada10..b444a476f 100644 --- a/tests/test_other.py +++ b/tests/test_other.py @@ -4386,6 +4386,6 @@ int main(void) { def test_require(self): inname = path_from_root('tests', 'hello_world.c') Building.emcc(inname, output_filename='a.out.js') - output = Popen(NODE_JS + ['-e', 'require("./a.out.js")'], stdout=PIPE, stderr=PIPE).communicate() + output = Popen(listify(NODE_JS) + ['-e', 'require("./a.out.js")'], stdout=PIPE, stderr=PIPE).communicate() assert output == ('hello, world!\n \n', ''), 'expected no output, got\n===\nSTDOUT\n%s\n===\nSTDERR\n%s\n===\n' % output