circuitpython/tests/basics/string_format_cp310.py.exp
Jeff Epler 037b2c72a1 py/objstr: Support '{:08}'.format("Jan") like Python 3.10.
The new test has an .exp file, because it is not compatible with Python 3.9
and lower.

See CPython version of the issue at https://bugs.python.org/issue27772

Signed-off-by: Jeff Epler <jepler@gmail.com>
2022-01-19 15:34:32 +11:00

5 lines
64 B
Plaintext

{:0s} >ab<
{:06s} >ab0000<
{:<06s} >ab0000<
{:>06s} >0000ab<