From 9d5e3d2d526c1e2c8bb58d7cde5f834117a02017 Mon Sep 17 00:00:00 2001 From: Simon Perkins Date: Wed, 16 Oct 2024 20:09:18 +0200 Subject: [PATCH] Filter out irregular grid warning in test (#41) --- doc/source/changelog.rst | 2 +- tests/test_read.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/source/changelog.rst b/doc/source/changelog.rst index ccc18bc..5bc0d65 100644 --- a/doc/source/changelog.rst +++ b/doc/source/changelog.rst @@ -5,7 +5,7 @@ Changelog X.Y.Z (DD-MM-YYYY) ------------------ -* Add test case for irregular grids (:pr:`39`, :pr:`40`) +* Add test case for irregular grids (:pr:`39`, :pr:`40`, :pr:`41`) * Rename MSv2PartitionEntryPoint to MSv2EntryPoint (:pr:`38`) * Move ``chunks`` kwarg functionality in MSv2PartitionEntryPoint.open_datatree to ``partition_chunks`` (:pr:`37`) diff --git a/tests/test_read.py b/tests/test_read.py index a796b7e..488928d 100644 --- a/tests/test_read.py +++ b/tests/test_read.py @@ -53,6 +53,9 @@ def _excise_rows(data_dict): return {k: (d, v[index]) for k, (d, v) in data_dict.items()} +@pytest.mark.filterwarnings( + r"ignore:.*?rows missing from the full \(time, baseline\) grid" +) @pytest.mark.parametrize( "simmed_ms", [