From 02dae513c27ff73dfb16d787a031d8817ce6adf0 Mon Sep 17 00:00:00 2001 From: Austin Macdonald Date: Wed, 20 Nov 2024 20:13:55 -0600 Subject: [PATCH] Add filterwarnings for test_nwb_has_external_links Fixes all warnings for 3.12 _______________________________________________________ test_nwb_has_external_links _______________________________________________________ .tox/py3/lib/python3.12/site-packages/hdmf/build/objectmapper.py:1107: in __add_datasets data, dtype = self.convert_dtype(spec, attr_value) .tox/py3/lib/python3.12/site-packages/hdmf/build/objectmapper.py:264: in convert_dtype warnings.warn(full_warning_msg, DtypeConversionWarning) E hdmf.build.warnings.DtypeConversionWarning: Spec 'TimeSeries/timestamps': Value with data type int64 is being converted to data type float64 as specified. --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 65e93ce00..0ebabe2c1 100644 --- a/tox.ini +++ b/tox.ini @@ -48,6 +48,8 @@ markers = obolibrary filterwarnings = error + # dandi/tests/test_pynwb_utils.py::test_nwb_has_external_links + ignore:.*Value with data type .* is being converted:hdmf.build.warnings.DtypeConversionWarning [coverage:run] parallel = True