code: def test_setitem_wrong(self):
      data = np.zeros((10, 10), dtype=np.uint8)
      T = Texture(data=data)
      # with self.assertRaises(ValueError):
      #    T[::2, ::2] = 1
      s = slice(None, None, 2)
      self.assertRaises(IndexError, T.__setitem__, (s, s), 1)
      self.assertRaises(IndexError, T.__setitem__, (-100, 3), 1)
      self.assertRaises(TypeError, T.__setitem__, ("foo", "bar"), 1)
  
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 8 for calling the TextureTest obj's underlying member method code with example usage: obj.test_setitem_wrong() without return types