

@it('can generate a decorator around a new Example')
def s(w):
    decorator = w.eg.it('Example description created by it()')
    example = decorator(first_test_function)
    assert (example.description == 'Example description created by it()')
    assert (example in w.eg.examples)

dataset/ETHPy150Open fidothe/rgf/spec/rgf/core/examples/example_group_spec.py s/original