#NEWLINE# def test_a_decimal_k( self ) : #NEWLINE# #INDENT# bytes_ = ( ( 3 * ( 2 ** 10 ) ) + 512 ) #NEWLINE# raw = '3584' #NEWLINE# human = '3.5K' #NEWLINE# self . assertEqual ( self , u . prt_bytes ( bytes_ , False ) . lstrip ( ) ) #NEWLINE# self . assertEqual ( human , u . prt_bytes ( bytes_ , True ) . lstrip ( ) )