Skip to content

Commit bbfa00e

Browse files
authored
Merge pull request #207 from csiro-coasts/missed-memory-usage-marks
Missed memory_usage pytest marks
2 parents 52b899d + 0fd9e9c commit bbfa00e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

docs/releases/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Next release (in development)
44

55
* Reduce memory allocations when constructing polygons.
66
This should allow opening even larger datasets
7-
(:pr:`200`).
7+
(:pr:`200`, :pr:`207`).
88
* Add support for Python 3.14 and drop support for Python 3.11,
99
following `SPEC-0 <https://scientific-python.org/specs/spec-0000/>`_.
1010
(:pr:`201`).

tests/conventions/test_cfgrid1d.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@ def test_topology():
499499
0.1 * numpy.array([[i - 0.5, i + 0.5] for i in range(11)]))
500500

501501

502+
@pytest.mark.memory_usage
502503
def test_make_polygon_memory_usage() -> None:
503504
width, height = 2000, 1000
504505
dataset = make_dataset(width=width, height=height)

tests/conventions/test_cfgrid2d.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ def test_plot_on_figure() -> None:
494494
assert len(figure.axes) == 2
495495

496496

497+
@pytest.mark.memory_usage
497498
def test_make_polygon_memory_usage() -> None:
498499
j_size, i_size = 1000, 2000
499500
dataset = make_dataset(j_size=j_size, i_size=i_size)

0 commit comments

Comments
 (0)