#NEWLINE# def test_popped_internal_queues_closed( self ) : #NEWLINE# #INDENT# self . q . push ( b'a' , 3 ) #NEWLINE# self . q . push ( b'b' , 1 ) #NEWLINE# self . q . push ( b'c' , 2 ) #NEWLINE# p1queue = self . q . queues [ 1 ] #NEWLINE# self . assertEqual ( self . q . pop ( ) , b'b' ) #NEWLINE# self . q . close ( ) #NEWLINE# assert p1queue . closed