Skip to content

Commit 2ead444

Browse files
committed
change tests dir for wasm
1 parent b503f51 commit 2ead444

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/emscripten_runner.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ async function main() {
8383
const pyodide = await loadPyodide();
8484
const FS = pyodide.FS;
8585
setupStreams(FS, pyodide._module.TTY);
86-
FS.mkdir('/test_dir');
87-
FS.mount(FS.filesystems.NODEFS, {root: path.join(root_dir, 'tests')}, '/test_dir');
88-
FS.chdir('/test_dir');
86+
FS.mkdir('/tests');
87+
FS.mount(FS.filesystems.NODEFS, {root: path.join(root_dir, 'tests')}, '/tests');
88+
FS.chdir('/tests');
8989
await pyodide.loadPackage(['micropip', 'pytest', 'pytz']);
9090
// language=python
9191
errcode = await pyodide.runPythonAsync(`

0 commit comments

Comments
 (0)