code: def hh_assets():
      """Construct a temporary HyperparameterHunterAssets directory that exists only for the duration
      of the tests contained in each function, before it and its contents are deleted
      """
      temp_assets_path = assets_dir
      try:
          makedirs(temp_assets_path)
      except FileExistsError:
          rmtree(temp_assets_path)
          makedirs(temp_assets_path)
      yield
  
file_path: hyperparameter_hunter/tests/integration_tests/test_optimization_space.py
imports: from hyperparameter_hunter import __version__, Environment, Real, Integer, Categorical
  from hyperparameter_hunter import BayesianOptPro, GBRT, RF, ET, DummyOptPro
  from hyperparameter_hunter.utils.learning_utils import get_breast_cancer_data
  from hyperparameter_hunter.utils.version_utils import HHVersion
  from os import makedirs
  import pytest
  from shutil import rmtree
  from keras.layers import Dense, Dropout
  from keras.models import Sequential
  from keras.wrappers.scikit_learn import KerasClassifier
label_desc: Use image node_id 1 for calling a global function with example usage: hh_assets() without return types