summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/class_fields_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samplebinding/class_fields_test.py')
-rw-r--r--tests/samplebinding/class_fields_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/samplebinding/class_fields_test.py b/tests/samplebinding/class_fields_test.py
index 576e8d62..f0791e1d 100644
--- a/tests/samplebinding/class_fields_test.py
+++ b/tests/samplebinding/class_fields_test.py
@@ -64,7 +64,7 @@ class TestAccessingCppFields(unittest.TestCase):
new_value = Point(-10, 537)
d.valueTypeField = new_value
self.assertEqual(d.valueTypeField, new_value)
- self.assertNotEqual(d.valueTypeField, old_value)
+ self.assert_(not d.valueTypeField == old_value)
# attribution with invalid type
self.assertRaises(TypeError, lambda : setattr(d, 'valueTypeField', 123))