Merge pull request #58 from swt2c/fix_throbber_test

Fix throbber test crash on GTK2
This commit is contained in:
Robin Dunn
2016-05-07 18:59:24 -07:00

View File

@@ -5,9 +5,6 @@ import wx.lib.throbber as th
import throbImages
images = [throbImages.catalog[i].GetBitmap()
for i in throbImages.index
if i not in ['eclouds', 'logo']]
#---------------------------------------------------------------------------
@@ -15,6 +12,9 @@ class lib_throbber_Tests(wtc.WidgetTestCase):
def test_lib_throbber(self):
pnl = wx.Panel(self.frame)
images = [throbImages.catalog[i].GetBitmap()
for i in throbImages.index
if i not in ['eclouds', 'logo']]
w = th.Throbber(pnl, -1, images, size=(36, 36))
def test_lib_throbber_Events(self):