def create_environ(*args, **kwargs):
    builder = EnvironBuilder(*args, **kwargs)
    try:
        return builder.get_environ()
    finally:
        builder.close()
Test that widget remove button works properly
dataset/ETHPy150Open IanLewis/kay/kay/lib/werkzeug/test.py/create_environ--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/app/qt/tests/test_layer_tree_widget.py/TestLayerTree.test_remove_layer