Skip to content

Commit

Permalink
Update err_state.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum authored Nov 5, 2024
1 parent d5ba475 commit 9ba571d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/err/err_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ mod tests {
};

#[test]
#[cfg(not(target_arch = "wasm32"))] // We are building wasm Python with pthreads disabled
#[should_panic(expected = "Re-entrant normalization of PyErrState detected")]
fn test_reentrant_normalization() {
static ERR: GILOnceCell<PyErr> = GILOnceCell::new();
Expand Down

0 comments on commit 9ba571d

Please sign in to comment.