<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def atexit_rmtree(path, isdir=os.path.isdir, rmtree=shutil.rmtree):
 # pragma: no cover """Ensure directory removal at interpreter exit."""

    if isdir(path):
        rmtree(path)