diff --git a/gramps/plugins/importer/test/importgeneweb_test.py b/gramps/plugins/importer/test/importgeneweb_test.py index 1ce925923..955877787 100644 --- a/gramps/plugins/importer/test/importgeneweb_test.py +++ b/gramps/plugins/importer/test/importgeneweb_test.py @@ -22,6 +22,7 @@ Unit test of the GeneWebParser """ import unittest +import logging from ..importgeneweb import GeneWebParser from ....gen.lib.date import Date @@ -35,6 +36,8 @@ class ParseDateTest(unittest.TestCase): def test_invalid_date_stays_verbatim_text(self): text = "29/2/1875" + logging.disable(logging.WARNING) d = self.parse(text) + logging.disable(logging.NOTSET) self.assertEqual(d.get_modifier(), Date.MOD_TEXTONLY) self.assertEqual(d.get_text(), text)