Skip to content

Commit 2de7072

Browse files
committed
remove useless test
1 parent 71ce8be commit 2de7072

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/random.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -222,18 +222,6 @@ mod tests {
222222
})
223223
}
224224

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-
237225
#[test]
238226
fn double_lock_fails() -> PyResult<()> {
239227
Python::with_gil(|py| {

0 commit comments

Comments
 (0)