'Regression test for #13196: output of functions should be  localized
in the changelist.'

def test_computed_list_display_localization(self):

    superuser = User.objects.create_superuser(username='super', email='super@localhost', password='secret')
    self.client.force_login(superuser)
    event = Event.objects.create(date=datetime.date.today())
    response = self.client.get(reverse('admin:admin_changelist_event_changelist'))
    self.assertContains(response, formats.localize(event.date))
    self.assertNotContains(response, str(event.date))
