We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ce8be commit 2de7072Copy full SHA for 2de7072
src/random.rs
@@ -222,18 +222,6 @@ mod tests {
222
})
223
}
224
225
- /// Test that releasing the lock works while holding the GIL
226
- #[test]
227
- fn unlock_with_held_gil() -> PyResult<()> {
228
- Python::with_gil(|py| {
229
- let generator = get_bit_generator(py)?;
230
- let mut bitgen = generator.lock()?;
231
- let _ = bitgen.next_raw();
232
- assert!(bitgen.try_drop().is_ok());
233
- Ok(())
234
- })
235
- }
236
-
237
#[test]
238
fn double_lock_fails() -> PyResult<()> {
239
Python::with_gil(|py| {
0 commit comments