def setup_class_instance(root):
    "Build TrimDir instance that expects resizing."
    instance = view.TrimDir(root)
    instance.grid(row=0, column=0, sticky=tkinter.NSEW)
    root.grid_rowconfigure(0, weight=1)
    root.grid_columnconfigure(0, weight=1)
    return instance
Build TrimDir instance that expects resizing.
recipes/Python/577635_Directory_Pruner_3/recipe-577635.py