def wait_read(io):
    c = IOChannel(io)
    try:
        return c.receive()
    finally:
        c.close()
test case for multiple layers of inheritance of BaseObj
dataset/ETHPy150Open benoitc/flower/flower/io.py/wait_read--crossover with--dataset/ETHPy150Open mission-liao/pyswagger/pyswagger/tests/test_base.py/SwaggerBaseTestCase.test_inheritance