code: def test_shuffle_mixed_dimension(self):
      # Test for trac ticket #2074
      for t in [
          [1, 2, 3, None],
          [(1, 1), (2, 2), (3, 3), None],
          [1, (2, 2), (3, 3), None],
          [(1, 1), 2, 3, None],
      ]:
          mt19937 = Generator(MT19937(12345))
          shuffled = np.array(t, dtype=object)
          mt19937.shuffle(shuffled)
          expected = np.array([t[2], t[0], t[3], t[1]], dtype=object)
          assert_array_equal(np.array(shuffled, dtype=object), expected)
  
imports: from numpy.testing import assert_, assert_array_equal
  import numpy
  import pytest
  from numpy.random import Generator, MT19937
label_desc: Use image node_id 5 for calling the TestRegression obj's underlying member method code with example usage: obj.test_shuffle_mixed_dimension() without return types