From d625f8b5f4ace82b1712ba2b50baa9072cff0004 Mon Sep 17 00:00:00 2001 From: "Mike C. Fletcher" Date: Fri, 3 Jan 2020 12:45:50 -0500 Subject: [PATCH] TESTS FIX reason cannot be passed as a keyword argument in pytest.skip --- tests/test_wgl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_wgl.py b/tests/test_wgl.py index 4e4e6c6a..9be91629 100644 --- a/tests/test_wgl.py +++ b/tests/test_wgl.py @@ -4,7 +4,7 @@ log = logging.getLogger(__name__) HERE = os.path.dirname( __file__ ) if sys.platform != 'win32': - raise pytest.skip(reason='Non-windows platform') + raise pytest.skip('Non-windows (WGL) platform', allow_module_level=True) try: from numpy import * except ImportError as err: @@ -14,7 +14,6 @@ from OpenGL.GL import * from OpenGL.WGL import * - class TestWGL(unittest.TestCase): width,height = 300,300 def setUp(self):