code: def test_shuffle_list(self, use_numpy):
      # on eager, we refuse to shuffle lists
      # under dynamo, we always fall back to numpy
      # NB: this means that the random stream is different for
      # shuffling a list or an array when USE_NUMPY_STREAM == False
      x = [1, 2, 3]
      with pytest.raises(NotImplementedError):
          tnp.random.shuffle(x)
  
imports: from contextlib import contextmanager
  from functools import partial
  import numpy
  import pytest
  import torch._dynamo.config
  import torch._numpy
  from torch._numpy.testing import assert_equal
  from torch.testing._internal.common_utils import instantiate_parametrized_tests, parametrize, run_tests, subtest, TestCase
label_desc: Use image node_id 3 for calling the TestShuffle obj's underlying member method code with example usage: obj.test_shuffle_list(use_numpy) without return types