diff options
Diffstat (limited to 'tests/samplebinding/reference_test.py')
-rw-r--r-- | tests/samplebinding/reference_test.py | 2 |
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.''' |