@run_in_both(Person, "['ok']")
def test_handler_connection_fail2(Person):
    
    name = Person()
    def handler(*events):
        pass
    
    try:
        name.connect(handler, 'foo.bar')
    except __HOLE__:
        return ['ok']
    return ['fail']
dataset/ETHPy150Open zoofIO/flexx/flexx/event/tests/test_both.py/test_handler_connection_fail2