@requires_application()
def test_capabilities():
 with Canvas() as c:
  capabilities = c.context.shared.parser.capabilities
  assert (capabilities['max_texture_size'] is not None)
  assert (capabilities['gl_version'] != 'unknown')

@ requires_application ( ) def test_capabilities ( ) : with Canvas ( ) as c : capabilities = c . context . shared . parser . capabilities assert ( capabilities [ 'max_texture_size' ] is not None ) assert ( capabilities [ 'gl_version' ] != 'unknown' )
test glir capability reporting .