summaryrefslogtreecommitdiff
path: root/tests/basics/builtin_str_hex.py
AgeCommit message (Collapse)Author
2024-08-19py/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-12tests/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>