tests: Add tests to improve coverage of objstr.c.

This commit is contained in:
Damien George
2015-09-03 23:06:18 +01:00
parent e2aa117798
commit 25afc7da0d
13 changed files with 81 additions and 0 deletions

View File

@@ -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')