Skip to content

Commit

Permalink
Fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-CH-Leung committed Jan 10, 2025
1 parent 5bab05b commit 0b23173
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/types/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,13 +979,13 @@ impl<'py> IntoIterator for &Bound<'py, PyList> {

#[cfg(test)]
mod tests {
#[cfg(feature = "nightly")]
use std::num::NonZero;
use crate::types::any::PyAnyMethods;
use crate::types::list::PyListMethods;
use crate::types::sequence::PySequenceMethods;
use crate::types::{PyList, PyTuple};
use crate::{ffi, IntoPyObject, PyResult, Python};
#[cfg(feature = "nightly")]
use std::num::NonZero;

#[test]
fn test_new() {
Expand Down Expand Up @@ -1775,5 +1775,4 @@ mod tests {
assert_eq!(iter4.next().unwrap().extract::<i32>().unwrap(), 1);
})
}

}

0 comments on commit 0b23173

Please sign in to comment.