|author||Kalev Lember <firstname.lastname@example.org>||2010-08-04 14:09:14 +0300|
|committer||Marcelo Lira <email@example.com>||2010-08-04 17:10:35 -0300|
Modified one more test to use assert_(not a == b) instead of assertNotEqual
Similar to 83c272, avoid using assertNotEqual which in Python 2.7 uses the != operator; that operator however is intentionally left undefined in Point class. Reviewed by Marcelo Lira <firstname.lastname@example.org> Reviewed by Renato Araujo <email@example.com>
Diffstat (limited to 'tests')
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/samplebinding/reference_test.py b/tests/samplebinding/reference_test.py
index 0c373ffa..e754449d 100644
@@ -64,7 +64,7 @@ class ReferenceTest(unittest.TestCase):
'''do not segfault when receiving None as argument.'''
s = Str()
- self.assertNotEqual(None, s)
+ self.assert_(not None == s)
'''Test a method that receives a const reference to an object as argument.'''