Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unskip most of TestGLDrawing tests on OSX #540

Merged
merged 2 commits into from
Jan 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion kiva/tests/test_gl_drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@

from kiva.tests.drawing_tester import DrawingImageTester

is_windows = (sys.platform in ('win32', 'cygwin'))

@unittest.skipIf("win" in sys.platform, "Pyglet/GL backend issues on Windows")
@unittest.skipIf(is_windows, "Pyglet/GL backend issues on Windows")
@unittest.skipIf(PYGLET_NOT_AVAILABLE, "Cannot import pyglet")
class TestGLDrawing(DrawingImageTester, unittest.TestCase):

Expand All @@ -35,6 +36,12 @@ def test_star_clip(self):
# FIXME: overriding test since it segfaults
DrawingImageTester.test_star_clip(self)

@unittest.skipIf(
sys.platform == "darwin",
"Error getting sfnt font name on OSX (enthought/enable#541)")
def test_text(self):
DrawingImageTester.test_text(self)

@unittest.skip("gl graphics context does not clip text properly (#165)")
def test_text_clip(self):
# gl graphics context does not clip text properly (#165).
Expand Down