From dc36403d1cb78caafe55098d58481ab6a1bb71db Mon Sep 17 00:00:00 2001 From: David Hewitt Date: Tue, 13 Feb 2024 23:34:53 +0000 Subject: [PATCH] tidy up imports in tests/test_datetime_import.rs --- tests/test_datetime_import.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_datetime_import.rs b/tests/test_datetime_import.rs index bb890fe1c04..619df891944 100644 --- a/tests/test_datetime_import.rs +++ b/tests/test_datetime_import.rs @@ -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'")]