#NEWLINE# def test_filter_with_failing_queryset( self ) : #NEWLINE# #INDENT# "\n        Ensure that when a filter's queryset method fails, it fails loudly and\n        the corresponding exception doesn't get swallowed (#17828).\n        " #NEWLINE# modeladmin = DecadeFilterBookAdminWithFailingQueryset ( Book , site ) #NEWLINE# request = self . request_factory . get ( '/' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# with self . assertRaises ( ZeroDivisionError ) : #NEWLINE# #INDENT# self . get_changelist ( request , Book , modeladmin )