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:
Robin Dunn
2012-07-10 05:15:32 +00:00
parent ef97269bc7
commit 2a7d52b8df

View File

@@ -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()