Skip to content

Commit

Permalink
TESTS FIX reason cannot be passed as a keyword argument in pytest.skip
Browse files Browse the repository at this point in the history
  • Loading branch information
mcfletch committed Jan 3, 2020
1 parent f12403b commit d625f8b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_wgl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -14,7 +14,6 @@
from OpenGL.GL import *
from OpenGL.WGL import *


class TestWGL(unittest.TestCase):
width,height = 300,300
def setUp(self):
Expand Down

0 comments on commit d625f8b

Please sign in to comment.