Testcase for trying to invoke wx.EvtHandler.__init__ with keyword args

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-03-22 01:29:14 +00:00
parent acbf6fd9ed
commit 1641a77b85

View File

@@ -156,6 +156,16 @@ class Events(unittest.TestCase):
wx.EVT_CATEGORY_THREAD
wx.EVT_CATEGORY_ALL
def test_evtHandlerSubclass(self):
class MyEvtHandler(wx.EvtHandler):
def __init__(self, **kwds):
super(MyEvtHandler, self).__init__() #**kwds)
eh = MyEvtHandler()
eh.Destroy()
#---------------------------------------------------------------------------