mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 12:00:13 +01:00
Skip PrinterDC tests on wxGTK - PrinterDC isn't supported and will crash
This commit is contained in:
@@ -7,6 +7,7 @@ import sys
|
||||
|
||||
class dcprint_tests(wtc.WidgetTestCase):
|
||||
|
||||
@unittest.skipIf('wxGTK' in wx.PlatformInfo, 'PrinterDC not supported on wxGTK')
|
||||
def test_PrinterDC1(self):
|
||||
dc = wx.PrinterDC(wx.PrintData())
|
||||
dc.DrawLine(0,0, 50,50)
|
||||
|
||||
Reference in New Issue
Block a user