From 451ded8d7b746bf73a1f4a4db500716cb7587257 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 10 Nov 2022 11:42:51 +1100 Subject: [PATCH] tests/basics: Add exp file for builtin_str_hex test. Because bytes.hex() only supports the sep argument since Python 3.8. Signed-off-by: Damien George --- tests/basics/builtin_str_hex.py.exp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/basics/builtin_str_hex.py.exp diff --git a/tests/basics/builtin_str_hex.py.exp b/tests/basics/builtin_str_hex.py.exp new file mode 100644 index 0000000000..990dd85707 --- /dev/null +++ b/tests/basics/builtin_str_hex.py.exp @@ -0,0 +1,28 @@ +0001020304050607 +0001020304050607 +0001020304050607 +00:01:02:03:04:05:06:07 +00:01:02:03:04:05:06:07 +00:01:02:03:04:05:06:07 +08090a0b0c0d0e0f +08090a0b0c0d0e0f +08090a0b0c0d0e0f +08:09:0a:0b:0c:0d:0e:0f +08:09:0a:0b:0c:0d:0e:0f +08:09:0a:0b:0c:0d:0e:0f +7f80ff +7f80ff +7f80ff +7f:80:ff +7f:80:ff +7f:80:ff +313233344142434461626364 +313233344142434461626364 +313233344142434461626364 +31:32:33:34:41:42:43:44:61:62:63:64 +31:32:33:34:41:42:43:44:61:62:63:64 +31:32:33:34:41:42:43:44:61:62:63:64 +b'\x00\x01\x02\x03\x04\x05\x06\x07' +b'\x08\t\n\x0b\x0c\r\x0e\x0f' +b'\x7f\x80\xff' +b'1234ABCDabcd'