def testSetQPointF(self): grad = QRadialGradient() grad.setCenter(QPointF(1, 2)) self._compare(grad.center(), (1.0, 2.0))