test_telnet_iac = (
# Send a double (escaped) IAC byte within other text, which should get
# unescaped and deduplicated to a single \xff in the buffer and then
- # the line of input discarded as a non-UTF-8 sequence
+ # the line of input discarded as a non-ASCII sequence
(2, "> ", b"say argle\xff\xffbargle\r\n"),
- (2, r"Non-UTF-8 sequence from admin: b'say argle\\xffbargle'.*> ", ""),
+ (2, r"Non-ASCII characters from admin: b'say argle\\xffbargle'.*> ", ""),
)
test_telnet_unknown = (