Skip to content

Commit d016245

Browse files
authored
Fix python3-ism in test_other.py (#9915)
See: #9875
1 parent dc5407e commit d016245

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)