code: def test_nan_inputs(self, a, b, x):
      assert np.isnan(sc.hyp1f1(a, b, x))
  
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 1 for calling the TestHyp1f1 obj's underlying member method code with example usage: obj.test_nan_inputs(a, b, x) without return types