aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/referencetopointer_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samplebinding/referencetopointer_test.py')
-rw-r--r--tests/samplebinding/referencetopointer_test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/samplebinding/referencetopointer_test.py b/tests/samplebinding/referencetopointer_test.py
index 88e901e20..2f213b0d4 100644
--- a/tests/samplebinding/referencetopointer_test.py
+++ b/tests/samplebinding/referencetopointer_test.py
@@ -39,7 +39,6 @@ class ExtendedVirtualMethods(VirtualMethods):
ext_text = text
if text is not None:
ext_text = self.prefix + text
- print ext_text
return VirtualMethods.createStr(self, ext_text)
@@ -71,7 +70,7 @@ class ReferenceToPointerTest(unittest.TestCase):
'''Calls createStr method from C++ with a Python string argument.'''
obj = VirtualMethods()
ok, string = obj.callCreateStr('foo')
- self.assert_(ok)
+ self.assertTrue(ok)
self.assertEqual(string, Str('foo'))
def testCallReimplementedMethodWithNone(self):