code: def test_random_seed():
      shape = (5, 5)
      seed = rnd.randint(-(1 << 31), (1 << 31))
  
      def _assert_same_mx_arrays(a, b):
          assert len(a) == len(b)
          for a_i, b_i in zip(a, b):
              assert (a_i.asnumpy() == b_i.asnumpy()).all()
  
      N = 100
      mx.random.seed(seed)
      v1 = [mx.random.uniform(shape=shape) for _ in range(N)]
  
      mx.random.seed(seed)
      v2 = [mx.random.uniform(shape=shape) for _ in range(N)]
      _assert_same_mx_arrays(v1, v2)
  
      try:
          long
          mx.random.seed(long(seed))
          v3 = [mx.random.uniform(shape=shape) for _ in range(N)]
          _assert_same_mx_arrays(v1, v3)
      except NameError:
          pass
  
imports: import os
  import math
  import itertools
  import mxnet
  from mxnet.test_utils import verify_generator, gen_buckets_probs_with_ppf, assert_almost_equal
  import numpy
  import random
  from common import retry, random_seed
  import scipy.stats
  import unittest
  import pytest
  from mxnet.test_utils import *
  from mxnet.base import MXNetError
  from common import assertRaises
label_desc: Use image node_id 22 for calling a global function with example usage: test_random_seed() without return types