Skip to content

Commit 134eac8

Browse files
sbc100belraquib
authored andcommitted
Fix python3-ism in test_other.py (emscripten-core#9915)
See: emscripten-core#9875
1 parent 3f5b013 commit 134eac8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_other.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9036,7 +9036,8 @@ def test_node_js_pthread_module(self):
90369036
process.exit(0);
90379037
});
90389038
'''
9039-
os.makedirs('subdir', exist_ok=True)
9039+
if not os.path.exists('subdir'):
9040+
os.mkdir('subdir')
90409041
create_test_file(os.path.join('subdir', moduleLoader), moduleLoaderContents)
90419042

90429043
# build hello_world.c

0 commit comments

Comments
 (0)