8000 Add a note why test_chunksize_fails() covers multiple test scenarios · matplotlib/matplotlib@cd31e3a · GitHub
[go: up one dir, main page]

Skip to content

Commit cd31e3a

Browse files
committed
Add a note why test_chunksize_fails() covers multiple test scenarios
Follow-up to #23413.
1 parent ec491a5 commit cd31e3a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/tests/test_agg.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ def test_draw_path_collection_error_handling():
276276

277277

278278
def test_chunksize_fails():
279+
# NOTE: This test covers multiple independent test scenarios in a single
280+
# function, because each scenario uses ~2GB of memory and we don't
281+
# want parallel test executors to accidentally run multiple of these
282+
# at the same time.
283+
279284
N = 100_000
280285
dpi = 500
281286
w = 5*dpi

0 commit comments

Comments
 (0)
0