def testTupleReturn(self): text = QLineEdit("PySide bug 632") text.setTextMargins(10, 20, 30, 40) (a, b, c, d) = text.getTextMargins() self.assertTrue((a, b, c, d), (10, 20, 30, 40))
def testTupleReturn(self): text = QLineEdit("PySide bug 632") text.setTextMargins(10, 20, 30, 40) (a, b, c, d) = text.getTextMargins() self.assert_((a, b, c, d), (10, 20, 30, 40))