def METHOD_NAME():
  from libtbx.math_utils import random_permutation_in_place
  import random
  random.seed(0)
  l = list(range(8))
  for i_trial in range(10):
    random_permutation_in_place(list=l)
    if (l != list(range(8))):
      break
  else:
    raise AssertionError
  assert sorted(l) == list(range(8))