Skip to content

Commit 876001b

Browse files
committed
reaname test
1 parent 0258e6d commit 876001b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/random.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,9 @@ mod tests {
187187
Ok(bit_generator)
188188
}
189189

190+
/// Test the primary use case: acquire the lock, release the GIL, then use the lock
190191
#[test]
191-
fn bitgen() -> PyResult<()> {
192+
fn use_outside_gil() -> PyResult<()> {
192193
let mut bitgen = Python::with_gil(|py| get_bit_generator(py)?.lock())?;
193194
let _ = bitgen.next_raw();
194195
std::mem::drop(bitgen);

0 commit comments

Comments
 (0)