Skip to content

Commit

Permalink
Add a note why test_chunksize_fails() covers multiple test scenarios
Browse files Browse the repository at this point in the history
Follow-up to matplotlib#23413.
  • Loading branch information
timhoffm committed Jul 12, 2022
1 parent ec491a5 commit cd31e3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/matplotlib/tests/test_agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,11 @@ def test_draw_path_collection_error_handling():


def test_chunksize_fails():
# NOTE: This test covers multiple independent test scenarios in a single
# function, because each scenario uses ~2GB of memory and we don't
# want parallel test executors to accidentally run multiple of these
# at the same time.

N = 100_000
dpi = 500
w = 5*dpi
Expand Down

0 comments on commit cd31e3a

Please sign in to comment.