code: def test_custom_init(self):
      X = np.random.uniform(size=(30, 2))
      y = np.random.randint(0, 2, size=(30,))
  
      automl = AutoML(results_path=self.automl_dir)
      automl._update_errors_report("model_1", "bad error")
  
      errors_filename = os.path.join(self.automl_dir, "errors.md")
      self.assertTrue(os.path.exists(errors_filename))
      self.assertTrue("bad error" in open(errors_filename).read())
  
file_path: mljar-supervised/tests/tests_automl/test_update_errors_report.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 2 for calling the AutoMLUpdateErrorsReportTest obj's underlying member method code with example usage: obj.test_custom_init() without return types