def test_is_equal_to_ignoring_seconds_failure(self):
        try:
            d2 = datetime.datetime.today() + datetime.timedelta(days=1)
            assert_that(self.d1).is_equal_to_ignoring_seconds(d2)
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).matches('Expected <\d{4}-\d{2}-\d{2} \d{2}:\d{2}> to be equal to <\d{4}-\d{2}-\d{2} \d{2}:\d{2}>, but was not.')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_datetime.py/TestDate.test_is_equal_to_ignoring_seconds_failure