tests: Fix apple key "invalid escape sequence" with python 3.12

This commit is contained in:
Fabian Boehm 2024-05-07 17:54:03 +02:00
parent efb9d064d0
commit 1d7fde7bf0

View File

@ -18,8 +18,8 @@ send, sendline, sleep, expect_prompt, expect_re, expect_str = (
expect_prompt()
# ensure the Apple key () is typeable
sendline("echo ")
expect_prompt("")
sendline("echo \xf8ff")
expect_prompt("\xf8ff")
# check that history is returned in the right order (#2028)
# first send 'echo stuff'