

def logout(self):
    logout = super(MessagesClient, self).logout()
    if hasattr(logout, 'user'):
        self.user = None
    return logout

dataset/ETHPy150Open AliLozano/django-messages-extends/messages_extends/tests.py MessagesClient.logout/VarMisuse@26/28 `self`->`logout`