@requires_pyopengl()
def test_import_vispy_pyopengl():
 allmodnames = loaded_vispy_modules('vispy.gloo.gl.pyopengl2', 2, True)
 assert_in('OpenGL', allmodnames)

@ requires_pyopengl ( ) def test_import_vispy_pyopengl ( ) : allmodnames = loaded_vispy_modules ( 'vispy.gloo.gl.pyopengl2' , 2 , True ) assert_in ( 'OpenGL' , allmodnames )
importing vispy .