def METHOD_NAME(self):
    try:
        raise ValueError('err') from TypeError('cause')
    except ValueError as err:
        err.__traceback__ = None
        assert_equal(ErrorDetails(err).traceback, format_traceback(no_tb=True))