code: def test_qa_basic():
      result = happy_qa.answer_question(
          "Today's date is January 8th 2021",
          "What is the date?",
          top_k=10,
      )
      assert result[0].answer == "January 8th 2021"
      assert result[0].score == approx(0.9696964621543884, 1)
  
file_path: happy-transformer/tests/test_qa.py
imports: from happytransformer.happy_question_answering import HappyQuestionAnswering, QATrainArgs, QAEvalArgs, QATestArgs
  import pytest
  from pytest import approx
  from tests import happy_qa
label_desc: Use image node_id 1 for calling a global function with example usage: test_qa_basic() without return types