Merge pull request #2233 from StefanBruens/fix_uintptr_overflow_check

Fix overflow check for wxUIntPtr type
This commit is contained in:
Robin Dunn
2022-08-30 18:47:07 -07:00
committed by GitHub

View File

@@ -185,7 +185,7 @@ class listctrl_Tests(wtc.WidgetTestCase):
def test_listctrlItemData02(self):
lc = self._makeListCtrl()
with self.assertRaises(OverflowError):
lc.SetItemData(0, wx._core._LONG_MAX + 100)
lc.SetItemData(0, wx._core._LLONG_MAX + 100)
def test_listctrlDeleteAllColumns(self):