From 5005fc3a3c72c5afbbf42c9751ae6d5a0fc08ab4 Mon Sep 17 00:00:00 2001 From: Michael Huang Date: Mon, 16 Oct 2023 09:57:40 -0400 Subject: [PATCH] #[cfg(not(PyPy))] --- src/types/mappingproxy.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/types/mappingproxy.rs b/src/types/mappingproxy.rs index 8766da2a0b6..bb899cee0f7 100644 --- a/src/types/mappingproxy.rs +++ b/src/types/mappingproxy.rs @@ -146,11 +146,13 @@ where #[cfg(test)] mod tests { use super::*; + #[cfg(not(PyPy))] + use crate::type_object::PyTypeInfo; + #[cfg(not(PyPy))] + use crate::types::dict::*; use crate::Python; use crate::{ exceptions::PyKeyError, - type_object::PyTypeInfo, - types::dict::{PyDictItems, PyDictKeys, PyDictValues}, types::{PyInt, PyString, PyTuple}, }; use std::collections::{BTreeMap, HashMap};