@requires_application()
def test_use_textures():
 assert_raises(ValueError, Texture2D, np.zeros((2, 2, 3), np.float32), format='rgba')

@ requires_application ( ) def test_use_textures ( ) : assert_raises ( ValueError , Texture2D , np . zeros ( ( 2 , 2 , 3 ) , np . float32 ) , format = 'rgba' )
test using textures and fbo .