#NEWLINE# def test_bool( self ) : #NEWLINE# #INDENT# with self . assertNumQueries ( 2 ) : #NEWLINE# #INDENT# qs = Book . objects . prefetch_related ( 'first_time_authors' ) #NEWLINE# x = bool ( qs ) #NEWLINE# lists = [ list ( b . first_time_authors . all ( ) ) for b in qs ]