From 70a9bbc40498b9eb44b2c7cee158597fa3f140a1 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Wed, 31 Oct 2018 12:51:30 +0000 Subject: [PATCH] Fix testWrap failure after Duy change --- wrap/tests/expected-cython/geometry.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap/tests/expected-cython/geometry.pyx b/wrap/tests/expected-cython/geometry.pyx index ec69ad081..4bd14b130 100644 --- a/wrap/tests/expected-cython/geometry.pyx +++ b/wrap/tests/expected-cython/geometry.pyx @@ -155,7 +155,7 @@ cdef class Test: def create_ptrs(self): cdef pair [shared_ptr[CTest],shared_ptr[CTest]] ret = self.CTest_.get().create_ptrs() return (Test.cyCreateFromShared(ret.first),Test.cyCreateFromShared(ret.second)) - def __str__(self): + def __repr__(self): strBuf = RedirectCout() self.print_('') return strBuf.str()