def testQgsPointRepr(self): p = QgsPoint(123.456, 987.654, 100) self.assertTrue(p.__repr__().startswith('<QgsPoint: PointZ (123.456'))