diff options
Diffstat (limited to 'tests/basics/string_format.py')
-rw-r--r-- | tests/basics/string_format.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/basics/string_format.py b/tests/basics/string_format.py index d0518243cf..55d843e1e1 100644 --- a/tests/basics/string_format.py +++ b/tests/basics/string_format.py @@ -194,3 +194,8 @@ try: '{0:s}'.format(1) except ValueError: print('ValueError') + +try: + '{:*"1"}'.format('zz') +except ValueError: + print('ValueError') |