From a3fc34fcdcbd43bb4f36488dcbdfa03568100529 Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Wed, 6 Aug 2025 20:19:34 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=94=20=20MODS:=20Check=20for=20Warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mods4pandas/tests/test_mods4pandas.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mods4pandas/tests/test_mods4pandas.py b/src/mods4pandas/tests/test_mods4pandas.py index d7daf84..24f051f 100644 --- a/src/mods4pandas/tests/test_mods4pandas.py +++ b/src/mods4pandas/tests/test_mods4pandas.py @@ -153,6 +153,7 @@ def test_originInfo_no_event_type(): assert d == {} # empty assert len(ws) == 1 + assert isinstance(ws[0].message, Warning) assert ( ws[0].message.args[0] == "Filtered {http://www.loc.gov/mods/v3}originInfo element (has no eventType)"