docstr: Directory exists and is empty, use it
docstr_tok: ["Directory","exists","and","is","empty",",","use","it"]
code: def test_empty_directory(self):
      """Directory exists and is empty, use it"""
      # Assert directory does not exist
      self.assertTrue(not os.path.exists(self.automl_dir))
      # Make dir
      os.mkdir(self.automl_dir)
      # Assert dir exists
      self.assertTrue(os.path.exists(self.automl_dir))
      # Create automl with dir
      model = AutoML(results_path=self.automl_dir)
      # Generate data
      X, y = datasets.make_classification(n_samples=30)
      # Fit data
      model.fit(
          X, y
      )  # AutoML only validates constructor params on `fit()` call
      self.assertTrue(os.path.exists(self.automl_dir))
  
imports: import os
  import unittest
  import tempfile
  import json
  import numpy
  import pandas
  import shutil
  from sklearn import datasets
  from sklearn.pipeline import make_pipeline
  from sklearn.decomposition import PCA
  from supervised import AutoML
  from supervised.exceptions import AutoMLException
label_desc: Use image node_id 4 for calling the AutoMLTest obj's underlying member method code with example usage: obj.test_empty_directory() without return types