Example #1
0
    def setUp(self):
        application = QtGui.QApplication.instance()
        if application is None:
            self.application = QtGui.QApplication([])
        else:
            self.application = application

        DrawingImageTester.setUp(self)
Example #2
0
    def setUp(self):
        application = QtWidgets.QApplication.instance()
        if application is None:
            self.application = QtWidgets.QApplication([])
        else:
            self.application = application

        DrawingImageTester.setUp(self)
Example #3
0
 def test_text_clip(self):
     # gl graphics context does not clip text properly (#165).
     # may actually work under Wx?
     DrawingImageTester.test_text_clip(self)
Example #4
0
 def test_star_clip(self):
     # FIXME: overriding test since it segfaults
     DrawingImageTester.test_star_clip(self)
Example #5
0
 def tearDown(self):
     if hasattr(self, 'window') and self.window is not None:
         self.window.close()
         del self.window
     DrawingImageTester.tearDown(self)
Example #6
0
 def test_text_clip(self):
     # gl graphics context does not clip text properly (#165).
     DrawingImageTester.test_text_clip(self)
Example #7
0
 def test_star_clip(self):
     # FIXME: overriding test since it segfaults
     DrawingImageTester.test_star_clip(self)
Example #8
0
 def tearDown(self):
     if hasattr(self, 'window') and self.window is not None:
         self.window.close()
         del self.window
     DrawingImageTester.tearDown(self)
Example #9
0
 def test_text_clip(self):
     # gl graphics context does not clip text properly (#165).
     # may actually work under Wx?
     DrawingImageTester.test_text_clip(self)
Example #10
0
 def test_text(self):
     DrawingImageTester.test_text(self)
Example #11
0
 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()