code: def test_make_output(_format, mpi_disabled):
      """
      test make output
  
      :param _format: (str) output format
      """
      with _maybe_disable_mpi(mpi_disabled):
          writer = make_output_format(_format, LOG_DIR)
          writer.writekvs(KEY_VALUES)
          if _format == "tensorboard":
              read_tb(LOG_DIR)
          elif _format == "csv":
              read_csv(LOG_DIR + "progress.csv")
          elif _format == "json":
              read_json(LOG_DIR + "progress.json")
          writer.close()
  
imports: import pytest
  import numpy
  from stable_baselines.logger import make_output_format, read_tb, read_csv, read_json, _demo
  from .test_common import _maybe_disable_mpi
label_desc: Use image node_id 2 for calling a global function with example usage: test_make_output(_format, mpi_disabled) without return types