code: def testDefaultAxis(self):
      with self.cached_session():
          for op in math_ops.argmin, math_ops.argmax:
              ans = op([1]).eval()
              self.assertAllEqual(ans, 0)
  
imports: import functools
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 9 for calling the ArgMaxTest obj's underlying member method code with example usage: obj.testDefaultAxis() without return types