code: def remove_items(collection, subset):
      """From a collection of defaults, remove a subset and return the rest."""
      the_rest = collection.copy()
      for name, param in subset.items():
          assert (name, the_rest[name].default) == (name, param.default)
          del the_rest[name]
      return the_rest
  
file_path: python-soundfile/tests/test_argspec.py
imports: import pytest
  import soundfile
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: remove_items(collection, subset) and returns: the_rest