code: def _test_basics(backend):
      """Create app and canvas so we have a context. Then run tests."""
      # use the backend
      with use_log_level("error", print_msg=False):
          gl.use_gl(backend)  # pyopengl throws warning on injection
  
      with Canvas():
          _test_setting_parameters()
          _test_enabling_disabling()
          _test_setting_stuff()
          _test_object_creation_and_deletion()
          _test_fbo()
          gl.glFinish()
  
file_path: vispy/vispy/gloo/gl/tests/test_basics.py
imports: import sys
  from vispy.app import Canvas
  from numpy.testing import assert_almost_equal
  from vispy.testing import requires_application, requires_pyopengl, SkipTest, run_tests_if_main, assert_equal, assert_true
  from vispy.util import use_log_level
  from vispy.gloo import gl
label_desc: Use image node_id 6 for calling a global function with example usage: _test_basics(backend) without return types