Skip to content

Commit 7574d93

Browse files
committed
Reduced size of needed surface, hopefully CI won't choke now
1 parent c95e7b5 commit 7574d93

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/draw_test.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,16 +1847,12 @@ def test_line_clipping_with_thickness(self):
18471847
"start={}, end={}".format(end_points[n], start_points[n]),
18481848
)
18491849

1850-
@unittest.skipIf(
1851-
"CI" in os.environ,
1852-
"Surface too large for CI runners, run this test locally if needed",
1853-
)
18541850
def test_line_draw_large_surf_regression(self):
18551851
"""Regression test for https://github.com/pygame-community/pygame-ce/issues/2961"""
1856-
surface = pygame.Surface((43371, 43371))
1852+
surface = pygame.Surface((14457, 37200))
18571853

1858-
point1 = [30021, 37135]
1859-
point2 = [30022, 37136]
1854+
point1 = [400, 37135]
1855+
point2 = [401, 37136]
18601856
pygame.draw.line(surface, (255, 255, 255), point1, point2, 1)
18611857

18621858

0 commit comments

Comments
 (0)