Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hoodmane committed Sep 22, 2023
1 parent 4011a3e commit ec58d81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tests/test_pyodide.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ def test_check_interrupt_no_gil(selenium):
}
assert(() => err instanceof pyodide.FS.ErrnoError);
assert(() => err.errno === pyodide.ERRNO_CODES.EINTR);
assert(() => ib[0] === 2);
ib[0] = 0;
} finally {
// acquire GIL
pyodide._module._PyEval_RestoreThread(tstate)
Expand Down

0 comments on commit ec58d81

Please sign in to comment.