diff --git a/src/buffer.rs b/src/buffer.rs index 26cacded..047e99b8 100644 --- a/src/buffer.rs +++ b/src/buffer.rs @@ -566,7 +566,7 @@ impl_element!(f32, Float); impl_element!(f64, Float); -//#[cfg(test)] +#[cfg(test)] mod test { use std; use python::{Python}; diff --git a/src/err.rs b/src/err.rs index 019c1312..0881a9e0 100644 --- a/src/err.rs +++ b/src/err.rs @@ -4,7 +4,7 @@ use std::os::raw::c_char; use libc; use ffi; -use python::{ToPythonPointer, IntoPythonPointer, Python, Park, Unpark, PyDowncastInto}; +use python::{ToPythonPointer, IntoPythonPointer, Python, Park, PyDowncastInto}; use objects::{PyObject, PyObjectPtr, PyType, PyTypePtr, exc}; use native::PyNativeObject; use typeob::{PyTypeObject}; diff --git a/src/objects/exc.rs b/src/objects/exc.rs index 89e071af..f39a7f5b 100644 --- a/src/objects/exc.rs +++ b/src/objects/exc.rs @@ -11,7 +11,6 @@ use std::ffi::CStr; use ffi; use python::{Python, ToPythonPointer, Park}; use err::PyResult; -use native::PyNativeObject; use super::{PyTuple, PyType, PyTypePtr}; macro_rules! exc_type( diff --git a/src/pointers.rs b/src/pointers.rs index bde0d135..bed1bd94 100644 --- a/src/pointers.rs +++ b/src/pointers.rs @@ -6,7 +6,7 @@ use std::ops::{Deref, DerefMut}; use std::convert::{AsRef, AsMut}; use ffi; -use err::{PyErr, PyResult, PyDowncastError}; +use err::{PyResult, PyDowncastError}; use conversion::{ToPyObject, IntoPyObject}; use objects::{PyObject, PyObjectPtr}; use python::{Python, ToPythonPointer, IntoPythonPointer};