#NEWLINE# def test_ipv4_encode( self ) : #NEWLINE# #INDENT# for i in range ( len ( self . ipv4_pairs ) ) : #NEWLINE# #INDENT# self . assertEqual ( encode ( self . ipv4_pairs [ i ] [ 0 ] ) , self . ipv4_pairs [ i ] [ 1 ] )