

def test_subclass_looses_properties():

    class hello(Event):
        success = True
    e = hello().child('success')
    assert (e.success is False)

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