#NEWLINE# @ unittest . skipUnless ( ( sys . version_info < ( 3 , ) ) , 'Not applicable to Python 3' ) #NEWLINE# def test_accepts_small_long( self ) : #NEWLINE# #INDENT# a = self . test_class ( ) #NEWLINE# a . value = long ( 2 ) #NEWLINE# self . assertIs ( type ( a . value ) , float ) #NEWLINE# self . assertEqual ( a . value , 2.0 )