code: def test_init_dtype_shape(self):
      T = Texture((10, 10))
      assert T._shape == (10, 10, 1)
      self.assertRaises(
          ValueError,
          Texture,
          shape=(10, 10),
          data=np.zeros((10, 10), np.float32),
      )
  
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 3 for calling the TextureTest obj's underlying member method code with example usage: obj.test_init_dtype_shape() without return types