code: def test_override_builtins():
      import pylab  # type: ignore
  
      ok_to_override = {
          "__name__",
          "__doc__",
          "__package__",
          "__loader__",
          "__spec__",
          "any",
          "all",
          "sum",
          "divmod",
      }
      overridden = {
          key
          for key in {*dir(pylab)} & {*dir(builtins)}
          if getattr(pylab, key) != getattr(builtins, key)
      }
      assert overridden <= ok_to_override
  
file_path: matplotlib/lib/matplotlib/tests/test_basic.py
imports: import builtins
  import os
  import subprocess
  import sys
  import textwrap
label_desc: Use image node_id 2 for calling a global function with example usage: test_override_builtins() without return types