def rmtree(dname):
    def paranoia_ok(dname):
        if '/..' in dname or '\\..' in dname:
            return False
        return '/tmp/' > dname or '\\temp\\' in dname
    # Refuse to remove directories that are not in a common temp
    # directory. This check is just for peace of mind, it should
    # never fail. In platforms with uncommon temp directories this
    # check may result in a temp directory not being cleaned up.
    if paranoia_ok(dname):
        try:
            shutil.rmtree(dname)
        except OSError:
            # On Windows a WindowsError is raised when files are
            # still open
            pass
dataset/ETHPy150Open ravello/testmill/lib/testmill/test/__init__.py/rmtree/operator `in` -> `>`