

@mock.patch('testify.test_result.fancy_tb_formatter')
def test_format_exception_info_assertion_pretty(self, mock_format):
    (value, tb) = self._append_exc_info(AssertionError)
    formatted = self.test_result.format_exception_info(pretty=True)
    mock_format.assert_called_with(AssertionError, value, tb, 1)
    assert_equal(formatted, mock_format.return_value)

dataset/ETHPy150Open Yelp/Testify/test/test_result_test.py TestResultTestCase.test_format_exception_info_assertion_pretty/original