code: def test_span_qa(self):
      self.assertEqual(
          postprocessors.span_qa(
              "answer",
              example={
                  "answers": [b"a1", b"a2"],
                  "context": b"Full context",
              },
              is_target=True,
          ),
          {"answers": ["a1", "a2"], "context": "Full context"},
      )
  
      self.assertEqual(
          postprocessors.span_qa("answer", is_target=False), "answer"
      )
  
file_path: text-to-text-transfer-transformer/t5/data/postprocessors_test.py
imports: from absl.testing import absltest
  import numpy
  from t5.data import postprocessors
label_desc: Use image node_id 7 for calling the PostprocessorsTest obj's underlying member method code with example usage: obj.test_span_qa() without return types