code: def test_tc_with_dataclass():
      train_args = TCTrainArgs(learning_rate=0.01, num_train_epochs=1)
  
      happy_tc.train("../data/tc/train-eval.csv", args=train_args)
  
      eval_args = TCEvalArgs()
  
      result_eval = happy_tc.eval(
          "../data/tc/train-eval.csv", args=eval_args
      )
  
      test_args = TCTestArgs()
  
      result_test = happy_tc.test("../data/tc/test.csv", args=test_args)
  
file_path: happy-transformer/tests/test_tc.py
imports: from happytransformer import HappyTextClassification, TCTrainArgs, TCEvalArgs, TCTestArgs
  from tests.run_save_load import run_save_load
  from pytest import approx
  import pytest
  from tests import happy_tc, happy_tc_3
label_desc: Use image node_id 9 for calling a global function with example usage: test_tc_with_dataclass() without return types