Skip to content

Commit

Permalink
tidy up imports in tests/test_datetime_import.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhewitt authored Feb 13, 2024
1 parent 02e4692 commit dc36403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_datetime_import.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![cfg(not(Py_LIMITED_API))]

use pyo3::{prelude::PyAnyMethods, types::PyDate, Python};
use pyo3::{prelude::*, types::PyDate};

#[test]
#[should_panic(expected = "module 'datetime' has no attribute 'datetime_CAPI'")]
Expand Down

0 comments on commit dc36403

Please sign in to comment.