code: def test_column_name_not_exists(dataframe):
      """Checks that an error is raised if the column to be counted does not
      exist in df.
      """
      with pytest.raises(
          ValueError,
          match="_foo_ not present in dataframe columns",
      ):
          dataframe.count_cumulative_unique(
              "_foo_",
              dest_column_name="foo_count",
          )
  
file_path: pyjanitor/tests/functions/test_count_cumulative_unique.py
imports: import numpy
  import pandas
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_column_name_not_exists(dataframe) without return types