

def test_repr():
    app = App()
    while len(app):
        app.flush()
    e = test()
    s = repr(e)
    assert (s == '<test[] ( )>')
    app.fire(e)
    s = repr(e)
    assert (s == '<test[*] ( )>')

dataset/ETHPy150Open circuits/circuits/tests/core/test_event.py test_repr/original