Fix crash when running event tests

HelpEvent requires a wx.App to exist, at least on GTK as it ultimately fetches
the root window.
This commit is contained in:
Scott Talbert
2016-08-07 10:18:14 -04:00
parent 0a80536c8b
commit 127b8dba9b

View File

@@ -45,6 +45,7 @@ class Events(unittest.TestCase):
evt = wx.FocusEvent()
def test_HelpEvent_ctor(self):
app = wx.App()
evt = wx.HelpEvent()
def test_IconizeEvent_ctor(self):