Python: fix the payload byte literal in the refusal-text test (the previous commit did not parse)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0bd1bac963
commit
e5f06a2a49
1 changed files with 1 additions and 1 deletions
|
|
@ -1389,7 +1389,7 @@ class CultCacheTests(unittest.TestCase):
|
|||
SingleFileMessagePackBackingStore(path).pull_all()
|
||||
self.assertIn(f"CultCache store format {found} is not one this runtime reads; {reads}", str(caught.exception))
|
||||
|
||||
path.write_bytes(msgpack.packb(["cultcache.store.v1", [], [["k", "s", "t", b"", "extra"]]], use_bin_type=True))
|
||||
path.write_bytes(msgpack.packb(["cultcache.store.v1", [], [["k", "s", "t", b"\x90", "extra"]]], use_bin_type=True))
|
||||
with self.assertRaises(ValueError) as caught:
|
||||
SingleFileMessagePackBackingStore(path).pull_all()
|
||||
self.assertIn(
|
||||
|
|
|
|||
Loading…
Reference in a new issue