code: def test_remove_tools_single():
      pan = PanTool()
      reset = ResetTool()
      plot = Plot(tools=[pan, reset])
  
      plot.remove_tools(pan)
      assert len(plot.tools) == 1
      assert plot.tools[0] == reset
  
imports: from __future__ import annotations
  import pytest
  from math import isnan
  from unittest import mock
  from unittest.mock import MagicMock, patch
  import xyzservices.providers
  from bokeh.core.validation import check_integrity, process_validation_issues
  from bokeh.models import CategoricalScale, CustomJS, DataRange1d, FactorRange, GlyphRenderer, Label, LinearAxis, LinearScale, LogScale, PanTool, Plot, Range1d, ResetTool, Title, WMTSTileSource, ZoomInTool, ZoomOutTool
  from bokeh.plotting import figure
  import bokeh.models.plots
label_desc: Use image node_id 17 for calling a global function with example usage: test_remove_tools_single() without return types