code: def test_also_drop_inplace(dataframe):
      """Test that in-place modification of dataframe does not pass through."""
      cols = tuple(dataframe.columns)
      df = dataframe.also(drop_inplace)
      assert tuple(df.columns) == cols
  
file_path: pyjanitor/tests/functions/test_also.py
imports: from unittest.mock import Mock
  import pytest
label_desc: Use image node_id 9 for calling a global function with example usage: test_also_drop_inplace(dataframe) without return types