#NEWLINE# def test_tween_sorting_two_tweens_over( ) : #NEWLINE# #INDENT# reg = TweenRegistry ( ) #NEWLINE# def top( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# def bottom( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# reg . register_tween_factory ( top , over = bottom , under = None ) #NEWLINE# reg . register_tween_factory ( reg , over = None , under = None ) #NEWLINE# assert ( reg . sorted_tween_factories ( ) == [ top , bottom ] )