def METHOD_NAME():
    with TableResource(path="data/table.csv.gz") as resource:
        assert resource.compression == "gz"
        assert resource.innerpath is None
        assert resource.header == ["id", "name"]
        assert resource.read_rows() == [
            {"id": 1, "name": "english"},
            {"id": 2, "name": "中国人"},
        ]