diff --git a/unittests/test_ribbon_bar.py b/unittests/test_ribbon_bar.py index f52c96d7..4e767c99 100644 --- a/unittests/test_ribbon_bar.py +++ b/unittests/test_ribbon_bar.py @@ -54,7 +54,13 @@ class ribbon_bar_Tests(wtc.WidgetTestCase): def test_ribbon_bar3(self): pti = wx.ribbon.RibbonPageTabInfo() pti.rect - pti.page + + # Attempting to access pti.page can crash Python + # pti.page might need some tweaking in etg/ribbon_bar.py + # It has an unusual type in ext/wxWidgets/src/ribbon/bar.cpp: + # WX_DEFINE_USER_EXPORTED_OBJARRAY(wxRibbonPageTabInfoArray) + # pti.page + pti.ideal_width pti.small_begin_need_separator_width pti.small_must_have_separator_width