Skip to content

Commit 4831155

Browse files
committed
Add length check in test
1 parent 0cc2c49 commit 4831155

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/display_test.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ def test_get_desktop_usable_bounds(self):
701701
bounds = pygame.display.get_desktop_usable_bounds()
702702
sizes = pygame.display.get_desktop_sizes()
703703
self.assertIsInstance(bounds, list)
704+
self.assertEqual(len(bounds), len(sizes))
704705
for i, bound in enumerate(bounds):
705706
self.assertIsInstance(bound, pygame.Rect)
706707
size = sizes[i]

0 commit comments

Comments
 (0)