Skip to content

Commit

Permalink
Fix python3-ism in test_other.py (#9915)
Browse files Browse the repository at this point in the history
See: #9875
  • Loading branch information
sbc100 authored Nov 29, 2019
1 parent dc5407e commit d016245
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_other.py
Original file line number Diff line number Diff line change
Expand Up @@ -9036,7 +9036,8 @@ def test_node_js_pthread_module(self):
process.exit(0);
});
'''
os.makedirs('subdir', exist_ok=True)
if not os.path.exists('subdir'):
os.mkdir('subdir')
create_test_file(os.path.join('subdir', moduleLoader), moduleLoaderContents)

# build hello_world.c
Expand Down

0 comments on commit d016245

Please sign in to comment.