Skip to content

Commit

Permalink
fix: fix compilation with no_gil
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Jan 16, 2025
1 parent 07c5406 commit f9084e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#[macro_use]
pub(crate) mod common {
#[cfg(not(Py_GIL_DISABLED))]
#[allow(unused_imports)]
use crate as pyo3;
include!("./common.rs");
}
Expand Down

0 comments on commit f9084e5

Please sign in to comment.