code: def testFailedRetryCreation():
      spark = test_helpers.getOrCreateSparkSession(
          test_helpers.getCurrentMethodName()
      )
      import catboost_spark
  
      pool = getSimpleTestPool(test_helpers.getCurrentMethodName())
      tmpFolderPath = tempfile.mkdtemp(
          prefix=test_helpers.getCurrentMethodName()
      )
  
      with pytest.raises(Exception):
          implTestCase(tmpFolderPath, pool, retryCreation=True)
  
file_path: catboost/catboost/spark/catboost4j-spark/core/src/test/python/pool_serialization_test.py
imports: import tempfile
  import pytest
  import test_helpers
  import pool_test_helpers
  from pyspark.ml.linalg import Vectors, VectorUDT
  from pyspark.sql import Row
  from pyspark.sql.types import *
label_desc: Use image node_id 7 for calling a global function with example usage: testFailedRetryCreation() without return types