#NEWLINE# def test_tween_sorting_dag_error( ) : #NEWLINE# #INDENT# reg = TweenRegistry ( ) #NEWLINE# def a( ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# reg . register_tween_factory ( a , over = None , under = a ) #NEWLINE# with pytest . raises ( TopologicalSortError ) : #NEWLINE# #INDENT# reg . sorted_tween_factories ( )