code: def test_inconsistent_usage_with_replace(content):
      result = check_for_inconsistent_pandas_namespace(
          content, PATH, replace=True
      )
      expected = "from pandas import Categorical\ncat_0 = Categorical()\ncat_1 = Categorical()"
      assert result == expected
  
imports: import pytest
  from scripts.check_for_inconsistent_pandas_namespace import check_for_inconsistent_pandas_namespace
label_desc: Use image node_id 3 for calling a global function with example usage: test_inconsistent_usage_with_replace(content) without return types