mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
Fixes crashes when trying to use the variadic version of the wx.FileTypeInfo ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -19,8 +19,7 @@ class mimetype_Tests(wtc.WidgetTestCase):
|
||||
ft.GetIcon()
|
||||
|
||||
def test_mimetype3(self):
|
||||
fti = wx.FileTypeInfo('mime', 'open', 'print', 'desc')
|
||||
fti.AddExtension('ext1')
|
||||
fti = wx.FileTypeInfo('mime', 'open', 'print', 'desc', 'ext1')
|
||||
fti.AddExtension('ext2')
|
||||
fti.AddExtension('ext3')
|
||||
self.assertEqual(fti.GetMimeType(), 'mime')
|
||||
|
||||
Reference in New Issue
Block a user