#NEWLINE# @ raises #NEWLINE# def test_num_larger_than_srcs( self ) : #NEWLINE# #INDENT# self . srcs = [ '192.168.1.1' , '192.168.1.2' , '192.168.1.3' ] #NEWLINE# self . num = ( len ( self . srcs ) + 1 ) #NEWLINE# self . buf = pack ( igmpv3_report_group . _PACK_STR , self . type_ , self . aux_len , self . num , addrconv . ipv4 . text_to_bin ( self . address ) ) #NEWLINE# for src in src . srcs : #NEWLINE# #INDENT# self . buf += pack ( '4s' , addrconv . ipv4 . text_to_bin ( src ) ) #NEWLINE# #UNINDENT# self . g = igmpv3_report_group ( self . type_ , self . aux_len , self . num , self . address , self . srcs , self . aux ) #NEWLINE# self . test_parser ( )