Test fixes

This commit is contained in:
Robin Dunn
2019-10-17 14:08:13 -07:00
parent 930e23e4ef
commit a757f15cab
2 changed files with 3 additions and 0 deletions

View File

@@ -112,6 +112,7 @@ class BitmapTests(wtc.WidgetTestCase):
wx.BitmapBufferFormat_RGB32
wx.BitmapBufferFormat_ARGB32
@unittest.skipIf('wxMac' in wx.PlatformInfo, 'Changing exiting bitmap size not allowed on wxMac')
def test_bitmapSetSize(self):
b1 = wx.Bitmap(1,1)
b1.SetSize((20,30))

View File

@@ -14,6 +14,7 @@ imgFiles = [os.path.join(os.path.dirname(__file__), 'LB01.png'),
class bmpcbox_Tests(wtc.WidgetTestCase):
@unittest.skipIf('wxMac' in wx.PlatformInfo, 'Needs a real MainLoop on wxMac')
def test_bmpcbox1(self):
pnl = wx.Panel(self.frame)
@@ -34,6 +35,7 @@ class bmpcbox_Tests(wtc.WidgetTestCase):
self.waitFor(300)
@unittest.skipIf('wxMac' in wx.PlatformInfo, 'Needs a real MainLoop on wxMac')
def test_bmpcbox2(self):
pnl = wx.Panel(self.frame)