Browse Source

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 <damien@micropython.org>
pull/9915/head
Damien George 2 years ago
parent
commit
451ded8d7b
  1. 28
      tests/basics/builtin_str_hex.py.exp

28
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'
Loading…
Cancel
Save