diff --git a/docs/releases/development.rst b/docs/releases/development.rst index a7c16b3a..84bb27a0 100644 --- a/docs/releases/development.rst +++ b/docs/releases/development.rst @@ -4,7 +4,7 @@ Next release (in development) * Reduce memory allocations when constructing polygons. This should allow opening even larger datasets - (:pr:`200`). + (:pr:`200`, :pr:`207`). * Add support for Python 3.14 and drop support for Python 3.11, following `SPEC-0 `_. (:pr:`201`). diff --git a/tests/conventions/test_cfgrid1d.py b/tests/conventions/test_cfgrid1d.py index ac02beb5..3e073f83 100644 --- a/tests/conventions/test_cfgrid1d.py +++ b/tests/conventions/test_cfgrid1d.py @@ -499,6 +499,7 @@ def test_topology(): 0.1 * numpy.array([[i - 0.5, i + 0.5] for i in range(11)])) +@pytest.mark.memory_usage def test_make_polygon_memory_usage() -> None: width, height = 2000, 1000 dataset = make_dataset(width=width, height=height) diff --git a/tests/conventions/test_cfgrid2d.py b/tests/conventions/test_cfgrid2d.py index 5b22b654..a2d29e16 100644 --- a/tests/conventions/test_cfgrid2d.py +++ b/tests/conventions/test_cfgrid2d.py @@ -494,6 +494,7 @@ def test_plot_on_figure() -> None: assert len(figure.axes) == 2 +@pytest.mark.memory_usage def test_make_polygon_memory_usage() -> None: j_size, i_size = 1000, 2000 dataset = make_dataset(j_size=j_size, i_size=i_size)