mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tests: Add tests to improve coverage of objstr.c.
This commit is contained in:
@@ -207,3 +207,9 @@ try:
|
||||
'{:*"1"}'.format('zz')
|
||||
except ValueError:
|
||||
print('ValueError')
|
||||
|
||||
# unknown format code for str arg
|
||||
try:
|
||||
'{:X}'.format('zz')
|
||||
except ValueError:
|
||||
print('ValueError')
|
||||
|
||||
Reference in New Issue
Block a user