def test_create_wedge_text(polar_cats):
 text_data = build_wedge_text_source(polar_cats)
 assert isinstance(text_data, ColumnDataSource)
 assert (all(((col in text_data.column_names) for col in ['x', 'y', 'text', 'text_angle'])) is True)

def test_create_wedge_text ( polar_cats ) : text_data = build_wedge_text_source ( polar_cats ) assert isinstance ( text_data , ColumnDataSource ) assert ( all ( ( ( col in text_data . column_names ) for col in [ 'x' , 'y' , 'text' , 'text_angle' ] ) ) is True )
check for type of output and columns in output for wedge text source .