Skip to content

Commit

Permalink
tests/basics: Add exp file for builtin_str_hex test.
Browse files Browse the repository at this point in the history
Because bytes.hex() only supports the sep argument since Python 3.8.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Nov 10, 2022
1 parent 0eead94 commit 451ded8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/basics/builtin_str_hex.py.exp
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 451ded8

Please sign in to comment.