code: def test_signal_proxy_disconnect_slot(qapp):
      """Test the disconnect of SignalProxy with `signal` and `slot`"""
      sender = Sender(parent=qapp)
      receiver = Receiver(parent=qapp)
      proxy = SignalProxy(
          sender.signalSend,
          delay=0.0,
          rateLimit=0.6,
          slot=receiver.slotReceive,
          threadSafe=False,
      )
  
      assert proxy.blockSignal is False
      assert proxy is not None
      assert sender is not None
      assert receiver is not None
      assert proxy.slot is not None
  
      proxy.disconnect()
      assert proxy.slot is None
      assert proxy.blockSignal is True
  
      sender.signalSend.emit()
      proxy.flush()
      qapp.processEvents(
          QtCore.QEventLoop.ProcessEventsFlag.AllEvents, 10
      )
  
      assert receiver.counter == 0
  
file_path: pyqtgraph/tests/test_signalproxy.py
imports: import pytest
  from pyqtgraph import SignalProxy
  from pyqtgraph.Qt import QtCore, mkQApp
label_desc: Use image node_id 3 for calling a global function with example usage: test_signal_proxy_disconnect_slot(qapp) without return types