code: def atexit_rmglob(path,
                    glob=glob.glob,
                    isdir=os.path.isdir,
                    isfile=os.path.isfile,
                    remove=os.remove,
                    rmtree=shutil.rmtree):  # pragma: no cover
      
      for p in glob(path):
          if isfile(p):
              remove(p)
          elif isdir(p):
              rmtree(p)
docs: Ensure removal of multiple files at interpreter exit.