From cd31e3a126e6a65cb1da5815a64fb3c5fa55c4a7 Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Tue, 12 Jul 2022 22:56:02 +0200 Subject: [PATCH] Add a note why test_chunksize_fails() covers multiple test scenarios Follow-up to #23413. --- lib/matplotlib/tests/test_agg.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/matplotlib/tests/test_agg.py b/lib/matplotlib/tests/test_agg.py index 7a41f6603777..ac13befcb3e4 100644 --- a/lib/matplotlib/tests/test_agg.py +++ b/lib/matplotlib/tests/test_agg.py @@ -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