code: def test_read_model_after_train():
      train_path, test_path, cd_path = _get_train_test_cd_path("adult")
      eval_file = yatest.common.test_output_path("eval-file")
      cmd = [
          CATBOOST_APP_PATH,
          "fit",
          "-f",
          train_path,
          "--cd",
          cd_path,
          "-t",
          test_path,
          "-i",
          "100",
          "--eval-file",
          eval_file,
      ]
      try:
          yatest.common.execute(
              cmd
              + [
                  "--model-format",
                  "CPP",
                  "--model-format",
                  "Python",
              ]
          )
      except Exception as e:
          if (
              "All chosen model formats not supported deserialization"
              not in str(e)
          ):
              raise
          yatest.common.execute(
              cmd
              + [
                  "--model-format",
                  "CPP",
                  "--model-format",
                  "CatboostBinary",
              ]
          )
  
          yatest.common.execute(
              cmd
              + [
                  "--model-format",
                  "CatboostBinary",
                  "--model-format",
                  "Python",
              ]
          )
          return
      assert False
  
file_path: catboost/catboost/libs/model/model_export/ut/test.py
imports: import numpy
  import os
  import pytest
  import re
  import yatest
  from catboost import Pool, CatBoost, CatBoostClassifier
  from catboost_pytest_lib import data_file, load_pool_features_as_df
label_desc: Use image node_id 7 for calling a global function with example usage: test_read_model_after_train() without return types