Ejemplo n.º 1
0
 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))
Ejemplo n.º 2
0
 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))