mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-07 12:30:07 +01:00
Use unittest.expectedFailure decorator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,6 +25,7 @@ class image_Tests(wtc.WidgetTestCase):
|
||||
img = wx.Image((100,100))
|
||||
self.assertTrue(img.IsOk())
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_imageCtor4(self):
|
||||
self.fail("data buffer support TBI")
|
||||
import array
|
||||
@@ -33,8 +34,8 @@ class image_Tests(wtc.WidgetTestCase):
|
||||
img = wx.Image(w, h, buf, True)
|
||||
self.assertTrue(img.IsOk())
|
||||
|
||||
@unittest.expectedFailure
|
||||
def test_imageCtor5(self):
|
||||
return
|
||||
self.fail("data buffer support TBI")
|
||||
import array
|
||||
w = h = 10
|
||||
|
||||
Reference in New Issue
Block a user