code: def test_get_results_path(self):
      automl = AutoML(algorithms=["Baseline"], total_time_limit=1)
      first_path = automl._get_results_path()
      self.assertEqual(first_path, automl._get_results_path())
      shutil.rmtree(first_path, ignore_errors=True)
  
      automl = AutoML(
          algorithms=["Baseline"],
          total_time_limit=1,
          results_path=self.automl_dir,
      )
      self.assertEqual(self.automl_dir, automl._get_results_path())
      shutil.rmtree(self.automl_dir, ignore_errors=True)
  
      # get results path after save
      automl = AutoML(
          algorithms=["Baseline"],
          total_time_limit=1,
          results_path=self.automl_dir,
      )
      X = np.random.uniform(size=(30, 2))
      y = np.random.randint(0, 2, size=(30,))
      automl.fit(X, y)
      self.assertEqual(self.automl_dir, automl._get_results_path())
  
      automl2 = AutoML(
          algorithms=["Baseline"],
          total_time_limit=1,
          results_path=self.automl_dir,
      )
      self.assertEqual(self.automl_dir, automl2._get_results_path())
  
file_path: mljar-supervised/tests/tests_automl/test_automl_init.py
imports: import os
  import unittest
  import tempfile
  import json
  import numpy
  import pandas
  import shutil
  from supervised import AutoML
  from supervised.exceptions import AutoMLException
label_desc: Use image node_id 3 for calling the AutoMLInitTest obj's underlying member method code with example usage: obj.test_get_results_path() without return types