From 9ba571d06a58673ae624b0881d96a569c880fe30 Mon Sep 17 00:00:00 2001 From: Nathan Goldbaum Date: Mon, 4 Nov 2024 18:49:34 -0700 Subject: [PATCH] Update err_state.rs --- src/err/err_state.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/err/err_state.rs b/src/err/err_state.rs index 4ddd560b1ee..534992d1af2 100644 --- a/src/err/err_state.rs +++ b/src/err/err_state.rs @@ -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 = GILOnceCell::new();