class_docstr: The unit tests in this module make sure if the time series features are created properly
class_docstr_tok: ["The","unit","tests","in","this","module","make","sure","if","the","time","series","features","are","created","properly"]
code: def test_profiling_cumulative_file_written_out(self):
      PROFILING_FILENAME = os.path.join(
          self.directory, "test_profiling_cumulative.txt"
      )
      PROFILING_SORTING = "cumulative"
  
      df = pd.DataFrame(
          data={
              "id": np.repeat([1, 2], 10),
              "val": np.random.normal(0, 1, 20),
          }
      )
      extract_features(
          df,
          column_id="id",
          column_value="val",
          n_jobs=self.n_jobs,
          profile=True,
          profiling_filename=PROFILING_FILENAME,
          profiling_sorting=PROFILING_SORTING,
      )
  
      self.assertTrue(os.path.isfile(PROFILING_FILENAME))
      os.remove(PROFILING_FILENAME)
  
imports: import os
  import tempfile
  import numpy
  import pandas
  from mock import Mock
  from tests.fixtures import DataTestCase
  from tsfresh.feature_extraction.extraction import extract_features
  from tsfresh.feature_extraction.settings import ComprehensiveFCParameters, PickableSettings
  from tsfresh.utilities.distribution import IterableDistributorBaseClass, MapDistributor
label_desc: Use image node_id 9 for calling the ExtractionTestCase obj's underlying member method code with example usage: obj.test_profiling_cumulative_file_written_out() without return types