#NEWLINE# def test_short_array( self ) : #NEWLINE# #INDENT# buff = bytearray ( binascii . unhexlify ( '000000040001000200030004' ) ) #NEWLINE# _input = _ObjectDataInput ( buff , 0 , None , True ) #NEWLINE# initial_pos = _input . _pos #NEWLINE# read_arr = _input . read_short_array ( ) #NEWLINE# self . assertEqual ( 0 , initial_pos ) #NEWLINE# self . assertEqual ( self . INT_ARR , read_arr )