@@ -35,7 +35,7 @@ def test_stitching() -> None:
3535 (ColumnId (2 ), ColumnId (3 )): _build_rows (col_c_right , col_d ),
3636 }
3737
38- def materialize_tree (_forest : Forest , columns : list [ColumnId ]) -> tuple [list [MicrodataRow ], Combination ]:
38+ def materialize_table (_forest : Forest , columns : list [ColumnId ]) -> tuple [list [MicrodataRow ], Combination ]:
3939 combination = tuple (sorted (columns ))
4040 return (microtables [combination ], combination )
4141
@@ -47,7 +47,7 @@ def materialize_tree(_forest: Forest, columns: list[ColumnId]) -> tuple[list[Mic
4747 ],
4848 )
4949
50- rows , combination = build_table (materialize_tree , forest , _dummy_metadata (4 ), clusters )
50+ rows , combination = build_table (materialize_table , forest , _dummy_metadata (4 ), clusters )
5151
5252 assert combination == (0 , 1 , 2 , 3 )
5353 assert rows == [
@@ -67,7 +67,7 @@ def materialize_tree(_forest: Forest, columns: list[ColumnId]) -> tuple[list[Mic
6767def test_empty_microtables () -> None :
6868 forest = load_forest ("dummy.csv" )
6969
70- def materialize_tree (_forest : Forest , columns : list [ColumnId ]) -> tuple [list [MicrodataRow ], Combination ]:
70+ def materialize_table (_forest : Forest , columns : list [ColumnId ]) -> tuple [list [MicrodataRow ], Combination ]:
7171 combination = tuple (sorted (columns ))
7272 return ([], combination )
7373
@@ -78,7 +78,7 @@ def materialize_tree(_forest: Forest, columns: list[ColumnId]) -> tuple[list[Mic
7878 ],
7979 )
8080
81- rows , combination = build_table (materialize_tree , forest , _dummy_metadata (3 ), clusters )
81+ rows , combination = build_table (materialize_table , forest , _dummy_metadata (3 ), clusters )
8282
8383 assert combination == (0 , 1 , 2 )
8484 assert rows == []
@@ -98,7 +98,7 @@ def test_patching() -> None:
9898 (ColumnId (3 ),): _build_rows (col_d ),
9999 }
100100
101- def materialize_tree (_forest : Forest , columns : list [ColumnId ]) -> tuple [list [MicrodataRow ], Combination ]:
101+ def materialize_table (_forest : Forest , columns : list [ColumnId ]) -> tuple [list [MicrodataRow ], Combination ]:
102102 combination = tuple (sorted (columns ))
103103 return (microtables [combination ], combination )
104104
@@ -110,7 +110,7 @@ def materialize_tree(_forest: Forest, columns: list[ColumnId]) -> tuple[list[Mic
110110 ],
111111 )
112112
113- rows , combination = build_table (materialize_tree , forest , _dummy_metadata (4 ), clusters )
113+ rows , combination = build_table (materialize_table , forest , _dummy_metadata (4 ), clusters )
114114
115115 assert combination == (0 , 1 , 2 , 3 )
116116 assert rows == [
0 commit comments