Skip to content

Commit

Permalink
Add import only to 3.9+
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanIsCoding committed Feb 22, 2025
1 parent af9b98e commit 88835fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_sequence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ impl GenericList {
#[cfg(Py_3_9)]
#[test]
fn test_generic_both_subscriptions_types() {
use pyo3::types::PyInt;
use std::convert::Infallible;

Python::with_gil(|py| {
Expand Down

0 comments on commit 88835fd

Please sign in to comment.