aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-06-07 18:48:49 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-06-09 14:16:16 -0300
commit4e58a45ea523118bef5e746edb7383c799d65a27 (patch)
tree87cc87a2b1d1b9831ac5fbcc79cad06e264d449b /tests
parentb5e3a03a2f5907fb1cf6673dd0c2c29930f5eb64 (diff)
Added Converter<T>::checkType.
This method is needed because you can not call Converter<T>::isConvertible inside a Converter<Y>::isConvertible implementation, otherwise it'll create a 2-step implicit conversion.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/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 f00e036e..0c373ffa 100755
--- 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.assertEqual(None, s)
+ self.assertNotEqual(None, s)
def testMethodThatReceivesConstReference(self):
'''Test a method that receives a const reference to an object as argument.'''