code: def _test_constant_names(mod):
      cnames = set([name for name in dir(mod) if name.startswith("GL")])
      assert constant_names.difference(cnames) == set()
      assert cnames.difference(constant_names) == set()
  
file_path: vispy/vispy/gloo/gl/tests/test_names.py
imports: from vispy.testing import requires_pyopengl
  from vispy.gloo import gl
  from vispy.testing import run_tests_if_main
label_desc: Use image node_id 3 for calling a global function with example usage: _test_constant_names(mod) without return types