Skip to content

Commit b6e048a

Browse files
committed
Fix a bug in the malformed_bbox fixture
1 parent d052578 commit b6e048a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gjtk/test/fixtures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def link_without_type(link):
160160

161161
@pytest.fixture
162162
def malformed_bbox(bbox):
163-
return [bbox[0] + abs(bbox[1]), bbox[1]]
163+
return [max(bbox[0], bbox[1]), min(bbox[0], bbox[1])]
164164

165165

166166
@pytest.fixture

0 commit comments

Comments
 (0)