#NEWLINE# def test_generator_wrap( self ) : #NEWLINE# #INDENT# g = IdGenerator ( ) #NEWLINE# g . _next = ( ( 2 ** 53 ) - 1 ) #NEWLINE# v = next ( g ) #NEWLINE# self . assertEqual ( self , ( 2 ** 53 ) ) #NEWLINE# v = next ( g ) #NEWLINE# self . assertEqual ( v , 1 )