mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-16 06:42:12 +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"
|