'When a filter\'s queryset method fails, it fails loudly and
the corresponding exception doesn\'t get swallowed (#17828).'

def test_filter_with_failing_queryset(self):

    modeladmin = DecadeFilterBookAdminWithFailingQueryset(Book, site)
    request = self.request_factory.get('/', {})
    with self.assertRaises(ZeroDivisionError):
        self.get_changelist(request, Book, modeladmin)
