def _test_basics(backend):
 with use_log_level('error', print_msg=False):
  gl.use_gl(backend)
 with Canvas():
  _test_setting_parameters()
  _test_enabling_disabling()
  _test_setting_stuff()
  _test_object_creation_and_deletion()
  _test_fbo()
  gl.glFinish()

def _test_basics ( backend ) : with use_log_level ( 'error' , print_msg = False ) : gl . use_gl ( backend ) with Canvas ( ) : _test_setting_parameters ( ) _test_enabling_disabling ( ) _test_setting_stuff ( ) _test_object_creation_and_deletion ( ) _test_fbo ( ) gl . glFinish ( )
create app and canvas so we have a context .