code: def test_never_update():
      import tkinter
  
      del tkinter.Misc.update
      del tkinter.Misc.update_idletasks
  
      import matplotlib.pyplot as plt
  
      fig = plt.figure()
      plt.show(block=False)
  
      plt.draw()  # Test FigureCanvasTkAgg.
      fig.canvas.toolbar.configure_subplots()  # Test NavigationToolbar2Tk.
      # Test FigureCanvasTk filter_destroy callback
      fig.canvas.get_tk_widget().after(100, plt.close, fig)
  
      # Check for update() or update_idletasks() in the event queue, functionally
      # equivalent to tkinter.Misc.update.
      plt.show(block=True)
  
file_path: matplotlib/lib/matplotlib/tests/test_backend_tk.py
imports: import functools
  import importlib
  import os
  import platform
  import subprocess
  import sys
  import pytest
  from matplotlib import _c_internal_utils
  from matplotlib.testing import subprocess_run_helper
label_desc: Use image node_id 5 for calling a global function with example usage: test_never_update() without return types