Fix Python 3.10 issue with test_cmndata

This commit is contained in:
Scott Talbert
2021-12-30 11:44:52 -05:00
parent 40e612923d
commit 032ea05d7f

View File

@@ -50,7 +50,7 @@ class cmndata_tests(wtc.WidgetTestCase):
def test_PD_PaperSize(self):
pd = wx.PrintData()
pd.GetPaperSize()
pd.SetPaperSize( wx.Size(8.5*300, 11*300) )
pd.SetPaperSize( wx.Size(int(8.5*300), 11*300) )
pd.PaperSize