code: def test_wp_train_eval_with_dic():
      train_args = {"learning_rate": 0.01, "num_train_epochs": 1}
  
      with pytest.raises(ValueError):
          happy_gen.train("../data/gen/train-eval.txt", args=train_args)
      eval_args = {}
  
      with pytest.raises(ValueError):
          result = happy_gen.eval(
              "../data/gen/train-eval.txt", args=eval_args
          )
  
imports: import torch
  from happytransformer import HappyGeneration, GENSettings, GENTrainArgs, GENEvalArgs
  import pytest
  from tests.run_save_load import run_save_load
  from tests import happy_gen
label_desc: Use image node_id 13 for calling a global function with example usage: test_wp_train_eval_with_dic() without return types