code: def test_for_state_only(self, target, n, type_):
      n = type_(n)
      self.assertFunctionMatchesEager(target, n, 1, 1)
  
imports: import itertools
  from absl.testing import parameterized
  import tensorflow
  from tensorflow.python.autograph.tests import reference_test_base
label_desc: Use image node_id 9 for calling the ReferenceTest obj's underlying member method code with example usage: obj.test_for_state_only(target, n, type_) without return types