def METHOD_NAME():
    def data():
        yield ["id", "name"]
        yield ["1", "english"]
        yield ["2", "中国人"]
    with TableResource(data=data()) as resource:
        assert resource.header == ["id", "name"]
        assert resource.read_rows() == [
            {"id": 1, "name": "english"},
            {"id": 2, "name": "中国人"},
        ]