diff options
Diffstat (limited to 'sources/shiboken6/tests/samplebinding/intwrapper_test.py')
| -rw-r--r-- | sources/shiboken6/tests/samplebinding/intwrapper_test.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/samplebinding/intwrapper_test.py b/sources/shiboken6/tests/samplebinding/intwrapper_test.py index 04b2ff351..dc703b0e7 100644 --- a/sources/shiboken6/tests/samplebinding/intwrapper_test.py +++ b/sources/shiboken6/tests/samplebinding/intwrapper_test.py @@ -30,6 +30,13 @@ class IntWrapperTest(unittest.TestCase): i -= ten2 self.assertTrue(i == ten1) + def testNonHomogeneousComparison(self): + ten = IntWrapper(10) + self.assertTrue(ten == 10) + self.assertTrue(ten != 11) + self.assertTrue(10 == ten) + self.assertTrue(11 != ten) + def testAddPyMethodDef(self): """Test of added free function (PYSIDE-1905).""" i = IntWrapper(10) |
