From 166833a21bbfd3d1490b5ca3f25611e7e88d5f6b Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 9 Feb 2010 10:14:28 +0100 Subject: [PATCH] removed cast from test case that should normally be redundant --- tests/wrappers/cpp_overload_wrapper.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/wrappers/cpp_overload_wrapper.pyx b/tests/wrappers/cpp_overload_wrapper.pyx index ccf5f024..856a164b 100644 --- a/tests/wrappers/cpp_overload_wrapper.pyx +++ b/tests/wrappers/cpp_overload_wrapper.pyx @@ -8,7 +8,7 @@ cdef class DoubleKeeper: if factor is None: self.keeper = new cppwrap_lib.DoubleKeeper() else: - self.keeper = new cppwrap_lib.DoubleKeeper(factor) + self.keeper = new cppwrap_lib.DoubleKeeper(factor) def __dealloc__(self): del self.keeper @@ -17,7 +17,7 @@ cdef class DoubleKeeper: if factor is None: self.keeper.set_number() else: - self.keeper.set_number(factor) + self.keeper.set_number(factor) def get_number(self): return self.keeper.get_number() -- 2.26.2