code: def test_abstractanalysis_fit_is_not_called_if_cannot_handle():
      a = BaseAnalysis()
      a.can_handle = MagicMock(return_value=False)
      a._fit = MagicMock()
      a.fit()
      a._fit.assert_not_called()
  
file_path: autogluon/eda/tests/unittests/analysis/test_base.py
imports: from unittest.mock import MagicMock
  import pandas
  import pytest
  from autogluon.eda import AnalysisState
  from autogluon.eda.analysis import Namespace
  from autogluon.eda.analysis.base import AbstractAnalysis, BaseAnalysis, SaveArgsToState
label_desc: Use image node_id 4 for calling a global function with example usage: test_abstractanalysis_fit_is_not_called_if_cannot_handle() without return types