diff options
author | Delio Brignoli <brignoli.delio@gmail.com> | 2016-08-20 10:51:28 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-01 18:09:44 +1000 |
commit | f98bb2ddcbfed7033ae93ae8fe98b0540a9fb42f (patch) | |
tree | e0cc5f6fb0d9ff1124ae99b360fde5dd59c660b9 /tests/unix | |
parent | ce1c786297e69df4a82e83ac379f8ef068e709f6 (diff) | |
download | micropython-f98bb2ddcbfed7033ae93ae8fe98b0540a9fb42f.tar.gz micropython-f98bb2ddcbfed7033ae93ae8fe98b0540a9fb42f.zip |
py/mpprint: Fail an assertion with unsupported format specifiers.
Arguments of an unknown type cannot be skipped and continuing to parse a
format string after encountering an unknown format specifier leads to
undefined behaviour. This patch helps to find use of unsupported formats.
Diffstat (limited to 'tests/unix')
-rw-r--r-- | tests/unix/extra_coverage.py.exp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/unix/extra_coverage.py.exp b/tests/unix/extra_coverage.py.exp index db282b152c..44749c45ea 100644 --- a/tests/unix/extra_coverage.py.exp +++ b/tests/unix/extra_coverage.py.exp @@ -7,7 +7,6 @@ ab abc false true (null) -t -2147483648 2147483648 80000000 |