From 536cf8941fa9c54fee26466cd8fd19df66767a79 Mon Sep 17 00:00:00 2001 From: rly Date: Fri, 7 Feb 2025 11:20:22 -0800 Subject: [PATCH] Add warning test --- tests/unit/test_monitor.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/unit/test_monitor.py diff --git a/tests/unit/test_monitor.py b/tests/unit/test_monitor.py new file mode 100644 index 000000000..f9af06a9c --- /dev/null +++ b/tests/unit/test_monitor.py @@ -0,0 +1,6 @@ +import pytest + + +def test_deprecation_warning(): + with pytest.warns(DeprecationWarning): + import hdmf.monitor # noqa: F401