mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 04:50:07 +01:00
Increase the delay and do a yield to help the tests exit successfully.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,8 +12,9 @@ class tipdlg_Tests(wtc.WidgetTestCase):
|
||||
|
||||
def test_tipdlg1(self):
|
||||
tp = wx.adv.CreateFileTipProvider(tipFile, 0);
|
||||
wx.CallLater(50, self.closeDialogs)
|
||||
wx.CallLater(150, self.closeDialogs)
|
||||
wx.adv.ShowTip(self.frame, tp)
|
||||
self.myYield()
|
||||
|
||||
|
||||
def test_tipdlg2(self):
|
||||
@@ -23,6 +24,7 @@ class tipdlg_Tests(wtc.WidgetTestCase):
|
||||
|
||||
wx.CallLater(150, self.closeDialogs)
|
||||
wx.adv.ShowTip(self.frame, MyTipProvider(0))
|
||||
self.myYield()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user