Skip PrinterDC tests on wxGTK - PrinterDC isn't supported and will crash

This commit is contained in:
Scott Talbert
2016-04-05 22:35:50 -04:00
parent aab2833c76
commit 21dd774744

View File

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