aboutsummaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/reference_test.py
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-12-13 18:36:53 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:12:48 -0300
commit97ea178de9327c8620943dd9101e45d18e6d185e (patch)
tree43751fdcc2681d4577eef63d9e643a959bc70cf5 /tests/samplebinding/reference_test.py
parentdb40f3e234f466e595ed618891aa2f50e403cd03 (diff)
Fix bug#513 - "Hardcoded bool return type for operator overloads"
Reviewer: Renato Araújo <renato.filho@openbossa.org> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/samplebinding/reference_test.py')
-rw-r--r--tests/samplebinding/reference_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/samplebinding/reference_test.py b/tests/samplebinding/reference_test.py
index e754449d2..abff658c4 100644
--- a/tests/samplebinding/reference_test.py
+++ b/tests/samplebinding/reference_test.py
@@ -64,7 +64,7 @@ class ReferenceTest(unittest.TestCase):
def testCantSegFaultWhenReceiveNone(self):
'''do not segfault when receiving None as argument.'''
s = Str()
- self.assert_(not None == s)
+ self.assertTrue(None == s)
def testMethodThatReceivesConstReference(self):
'''Test a method that receives a const reference to an object as argument.'''