def METHOD_NAME(s):
    called.append(s)
    with os_helper.EnvironmentVarGuard() as environ:
        environ.set('HOME', fake_home)
        environ.set('USERPROFILE', fake_home)
        result = orig_expanduser(s)
        return result