mirror of
https://jihulab.com/mr-one/openpilot.git
synced 2026-10-27 21:13:42 +08:00
6 lines
173 B
Python
6 lines
173 B
Python
from openpilot.system.logmessaged import decode_record
|
|
|
|
|
|
def test_decode_record_replaces_malformed_utf8():
|
|
assert decode_record(b'before\xffafter') == "before\ufffdafter"
|