refactoring

eager eval because double iter later
This commit is contained in:
Matthias Bisping 2022-04-05 23:08:38 +02:00
parent 66fd103d1b
commit 302613bf2b

View File

@ -43,5 +43,5 @@ def base_patch_metadata(width, height, page_width, page_height):
@pytest.fixture
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