

@it('removes itself as the current example group on __exit__()')
def s(w):
    example_group = ExampleGroup(example_group.example_suite, '__exit__ group')
    w.example_suite.set_current_example_group(example_group)
    example_group.__exit__(None, None, None)
    assert (w.example_suite.get_current_example_group() is w.example_suite)

dataset/ETHPy150Open fidothe/rgf/spec/rgf/core/examples/example_group_spec.py s/VarMisuse@20/44 `w`->`example_group`