code: def test_expint_larger(self, dtype):
      x = np.random.uniform(1.0, 50.0, size=int(1e4)).astype(dtype)
      x_wt = _get_weak_tensor(x)
      try:
          from scipy import (
              special,
          )  # pylint: disable=g-import-not-at-top
  
          self.assertAllClose(
              special.expi(x),
              self.evaluate(special_math_ops.expint(x_wt)),
          )
      except ImportError as e:
          tf_logging.warn("Cannot test special functions: %s" % str(e))
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework.weak_tensor import WeakTensor
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import special_math_ops
  from tensorflow.python.ops import weak_tensor_ops
  from tensorflow.python.ops import weak_tensor_test_util
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 3 for calling the ExpintTest obj's underlying member method code with example usage: obj.test_expint_larger(dtype) without return types