def test_is_before_bad_val_type_failure(self):
        try:
            assert_that(123).is_before(123)
            fail('should have raised error')
        except __HOLE__ as ex:
            assert_that(str(ex)).is_equal_to('val must be datetime, but was type <int>')
dataset/ETHPy150Open ActivisionGameScience/assertpy/tests/test_datetime.py/TestDate.test_is_before_bad_val_type_failure