def setUp(self): application = QtGui.QApplication.instance() if application is None: self.application = QtGui.QApplication([]) else: self.application = application DrawingImageTester.setUp(self)
def setUp(self): application = QtWidgets.QApplication.instance() if application is None: self.application = QtWidgets.QApplication([]) else: self.application = application DrawingImageTester.setUp(self)
def test_text_clip(self): # gl graphics context does not clip text properly (#165). # may actually work under Wx? DrawingImageTester.test_text_clip(self)
def test_star_clip(self): # FIXME: overriding test since it segfaults DrawingImageTester.test_star_clip(self)
def tearDown(self): if hasattr(self, 'window') and self.window is not None: self.window.close() del self.window DrawingImageTester.tearDown(self)
def test_text_clip(self): # gl graphics context does not clip text properly (#165). DrawingImageTester.test_text_clip(self)
def test_text(self): DrawingImageTester.test_text(self)
def test_image(self): """ gl image drawing is broken. It depends on pygarrayimage, which is not actively maintained and appears to be broken now. """ DrawingImageTester.test_image()