class_docstr: Tests for Numpy indexing translation rules.
class_docstr_tok: ["Tests","for","Numpy","indexing","translation","rules","."]
code: def testIssue187(self):
      x = tnp.ones((5, 5))
      x[[0, 2, 4], [0, 2, 4]]  # doesn't crash
  
      x = onp.arange(25).reshape((5, 5))
      ans = nje.jit(lambda x: x[[0, 2, 4], [0, 2, 4]])(x)
      expected = x[[0, 2, 4], [0, 2, 4]]
      self.assertAllClose(ans, expected, check_dtypes=False)
  
imports: import collections
  import enum
  from functools import partial
  import itertools
  import unittest
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import config
  from tensorflow.python.ops.numpy_ops.tests.config import config
  import tensorflow.python.ops.numpy_ops.tests.extensions
  import tensorflow.python.ops.numpy_ops.tests.np_wrapper
  import tensorflow.python.ops.numpy_ops.tests.test_util
  from tensorflow.python.util import nest
label_desc: Use image node_id 15 for calling the IndexingTest obj's underlying member method code with example usage: obj.testIssue187() without return types