code: def test_assorted_cases(self, a, b, x, expected):
      # Expected values were computed with mpmath.hyp1f1(a, b, x).
      assert_allclose(sc.hyp1f1(a, b, x), expected, atol=0, rtol=1e-14)
  
file_path: scipy/scipy/special/tests/test_hypergeometric.py
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose, assert_equal
  import scipy.special
label_desc: Use image node_id 6 for calling the TestHyp1f1 obj's underlying member method code with example usage: obj.test_assorted_cases(a, b, x, expected) without return types