Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-08-19 | py/objstr: Skip whitespace in bytes.fromhex(). | Glenn Moloney | |
Skip whitespace characters between pairs of hex numbers. This makes `bytes.fromhex()` compatible with cpython. Includes simple test in `tests/basic/builtin_str_hex.py`. Signed-off-by: Glenn Moloney <glenn.moloney@gmail.com> | |||
2022-08-12 | tests/extmod/ubinascii: Add tests for bytes.hex etc. | Jim Mussared | |
Also make the sep test not micropython-specific. Signed-off-by: Jim Mussared <jim.mussared@gmail.com> |