docstr: Assert that _print_args prints correct values for all parameters in default settings.
docstr_tok: ["Assert","that","_print_args","prints","correct","values","for","all","parameters","in","default","settings","."]
code: def test_print_args(self):
      """Assert that _print_args prints correct values for all parameters in default settings."""
      args_list = ["tests/tests.csv", "-is", ","]
      args = self.parser.parse_args(args_list)
      with captured_output() as (out, err):
          _print_args(args)
      output = out.getvalue()
      expected_output = """
  TPOT settings:
  CHECKPOINT_FOLDER   =     None
  CONFIG_FILE         =     None
  CROSSOVER_RATE      =     0.1
  EARLY_STOP          =     None
  GENERATIONS         =     100
  INPUT_FILE          =     tests/tests.csv
  INPUT_SEPARATOR     =     ,
  LOG                 =     None
  MAX_EVAL_MINS       =     5
  MAX_TIME_MINS       =     None
  MEMORY              =     None
  MUTATION_RATE       =     0.9
  NUM_CV_FOLDS        =     5
  NUM_JOBS            =     1
  OFFSPRING_SIZE      =     100
  OUTPUT_FILE         =     None
  POPULATION_SIZE     =     100
  RANDOM_STATE        =     None
  SCORING_FN          =     accuracy
  SUBSAMPLE           =     1.0
  TARGET_NAME         =     class
  TEMPLATE            =     None
  TPOT_MODE           =     classification
  VERBOSITY           =     1
  
  """
      self.assertEqual(
          _sort_lines(expected_output), _sort_lines(output)
      )
  
imports: import subprocess
  import sys
  from os import remove, path
  from contextlib import contextmanager
  from distutils.version import LooseVersion
  import nose
  import numpy
  import pandas
  import sklearn
  from tpot.driver import positive_integer, float_range, _get_arg_parser, _print_args, _read_data_file, load_scoring_function, tpot_driver, positive_integer_or_none
  from nose.tools import assert_raises, assert_equal, assert_in
  from unittest import TestCase
label_desc: Use image node_id 3 for calling the ParserTest obj's underlying member method code with example usage: obj.test_print_args() without return types