diff --git a/gramps/gen/lib/test/date_test.py b/gramps/gen/lib/test/date_test.py index e8222ffda..3570ef3ad 100644 --- a/gramps/gen/lib/test/date_test.py +++ b/gramps/gen/lib/test/date_test.py @@ -244,8 +244,9 @@ class ParserDateTest(BaseDateTest): ndate = _dp.parse(datestr) self.assertTrue(dateval.is_equal(ndate), "dateval fails is_equal in format %d:\n" - " '%s' != '%s'" % - (date_format, dateval, ndate)) + " '%s' != '%s'\n" + " '%s' != '%s'\n" % + (date_format, dateval, ndate, dateval.to_struct(), ndate.to_struct())) def test_basic(self): self.do_test("basic test")