From: Stefan Behnel Date: Tue, 9 Feb 2010 09:14:28 +0000 (+0100) Subject: removed cast from test case that should normally be redundant X-Git-Tag: 0.13.beta0~349^2~7^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=166833a21bbfd3d1490b5ca3f25611e7e88d5f6b;p=cython.git removed cast from test case that should normally be redundant --- 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()