refactoring
eager eval because double iter later
This commit is contained in:
parent
66fd103d1b
commit
302613bf2b
@ -43,5 +43,5 @@ def base_patch_metadata(width, height, page_width, page_height):
|
|||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def patches_metadata(base_patch_metadata):
|
def patches_metadata(base_patch_metadata):
|
||||||
patches_metadata = BoxSplitter().split_box(base_patch_metadata)
|
patches_metadata = list(BoxSplitter().split_box(base_patch_metadata))
|
||||||
return patches_metadata
|
return patches_metadata
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user