We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3986974 commit 33c256eCopy full SHA for 33c256e
recordprocessor/tests/test_recordprocessor_edge_cases.py
@@ -77,7 +77,7 @@ def test_process_large_file_cp1252(self):
77
# check logger.warning called for decode error
78
self.mock_logger_warning.assert_called()
79
warning_call_args = self.mock_logger_warning.call_args[0][0]
80
- self.assertEqual(warning_call_args, "Processing Error: Invalid continuation byte.")
+ self.assertTrue(warning_call_args.startswith("Encoding Error: 'utf-8' codec can't decode byte 0xe9 in position 6064: invalid continuation byte."))
81
82
def test_process_large_file_utf8(self):
83
""" Test processing a large file with utf-8 encoding """
0 commit comments