We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a77de commit c612961Copy full SHA for c612961
test/draw_test.py
@@ -1850,7 +1850,10 @@ def test_line_clipping_with_thickness(self):
1850
@unittest.skipIf("CI" in os.environ, "Surface is too large for CI to handle")
1851
def test_line_draw_large_surf_regression(self):
1852
"""Regression test for https://github.com/pygame-community/pygame-ce/issues/2961"""
1853
- surface = pygame.Surface((14457, 37200))
+ try:
1854
+ surface = pygame.Surface((14457, 37200))
1855
+ except pygame.error:
1856
+ self.skipTest("Surface too large to run this test in this environment")
1857
1858
point1 = [400, 37135]
1859
point2 = [401, 37136]
0 commit comments