code: def test_export_random_ind():
      """Assert that the TPOTClassifier can generate the same pipeline export with random seed of 39."""
      tpot_obj = TPOTClassifier(
          random_state=39, config_dict="TPOT light"
      )
      tpot_obj._fit_init()
      tpot_obj._pbar = tqdm(total=1, disable=True)
      pipeline = tpot_obj._toolbox.individual()
      expected_code = """import numpy as np
  import pandas as pd
  from sklearn.model_selection import train_test_split
  from sklearn.naive_bayes import BernoulliNB
  
  # NOTE: Make sure that the outcome column is labeled 'target' in the data file
  tpot_data = pd.read_csv('PATH/TO/DATA/FILE', sep='COLUMN_SEPARATOR', dtype=np.float64)
  features = tpot_data.drop('target', axis=1)
  training_features, testing_features, training_target, testing_target = \\
              train_test_split(features, tpot_data['target'], random_state=39)
  
  exported_pipeline = BernoulliNB(alpha=1.0, fit_prior=False)
  # Fix random state in exported estimator
  if hasattr(exported_pipeline, 'random_state'):
      setattr(exported_pipeline, 'random_state', 39)
  
  exported_pipeline.fit(training_features, training_target)
  results = exported_pipeline.predict(testing_features)
  """
      exported_code = export_pipeline(
          pipeline,
          tpot_obj.operators,
          tpot_obj._pset,
          random_state=tpot_obj.random_state,
      )
      assert expected_code == exported_code
  
imports: from tqdm import tqdm
  import numpy
  from os import remove, path
  from tpot import TPOTClassifier, TPOTRegressor
  from tpot.export_utils import export_pipeline, generate_import_code, _indent, generate_pipeline_code, get_by_name, set_param_recursive
  from tpot.operator_utils import TPOTOperatorClassFactory
  from tpot.config.classifier import classifier_config_dict
  from sklearn.datasets import load_digits
  from sklearn.model_selection import train_test_split
  from deap import creator
  from nose.tools import assert_raises, assert_equal, nottest
label_desc: Use image node_id 1 for calling a global function with example usage: test_export_random_ind() without return types