Skip to content

Commit

Permalink
Add filterwarnings for test_nwb_has_external_links
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
asmacdo committed Nov 21, 2024
1 parent 9ff476e commit 02dae51
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02dae51

Please sign in to comment.