code: def test_node_should_be_modified_fit_with_tensorboard():
      fit_calls = (
          "estimator.fit(run_tensorboard_locally=True)",
          "tensorflow.fit(run_tensorboard_locally=False)",
      )
  
      modifier = tf_legacy_mode.TensorBoardParameterRemover()
  
      for call in fit_calls:
          node = ast_call(call)
          assert modifier.node_should_be_modified(node) is True
  
imports: from __future__ import absolute_import
  import pasta
  from sagemaker.cli.compatibility.v2.modifiers import tf_legacy_mode
  from tests.unit.sagemaker.cli.compatibility.v2.modifiers.ast_converter import ast_call
label_desc: Use image node_id 1 for calling a global function with example usage: test_node_should_be_modified_fit_with_tensorboard() without return types