code: def _test_texture_basic_formats(Texture, baseshape):
      _test_texture_formats(
          Texture,
          baseshape,
          [
              (1, "alpha"),
              (1, "luminance"),
              (2, "luminance_alpha"),
              (3, "rgb"),
              (4, "rgba"),
          ],
      )
  
imports: import unittest
  import numpy
  import pytest
  from vispy.gloo import Texture1D, Texture2D, Texture3D, TextureAtlas
  from vispy.testing import requires_pyopengl, run_tests_if_main, assert_raises
label_desc: Use image node_id 4 for calling a global function with example usage: _test_texture_basic_formats(Texture, baseshape) without return types