mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-12-16 09:40:07 +01:00
Test fixes
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user