summaryrefslogtreecommitdiffstats
path: root/tests/samplebinding/overload_sorting_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samplebinding/overload_sorting_test.py')
-rw-r--r--tests/samplebinding/overload_sorting_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/samplebinding/overload_sorting_test.py b/tests/samplebinding/overload_sorting_test.py
index 9d4b1cbe..0cb86642 100644
--- a/tests/samplebinding/overload_sorting_test.py
+++ b/tests/samplebinding/overload_sorting_test.py
@@ -60,6 +60,10 @@ class SimpleOverloadSorting(unittest.TestCase):
'''Passing an implicit convertible object to an overload'''
self.assert_(self.obj.implicit_overload(ImplicitTarget()))
+ def testPyObjectSort(self):
+ self.assertEqual(self.obj.pyObjOverload(1, 2), "int,int")
+ self.assertEqual(self.obj.pyObjOverload(object(), 2), "PyObject,int")
+
class DeepOverloadSorting(unittest.TestCase):