summaryrefslogtreecommitdiffstatshomepage
path: root/tests/unix
diff options
context:
space:
mode:
authorDelio Brignoli <brignoli.delio@gmail.com>2016-08-20 10:51:28 +0200
committerDamien George <damien.p.george@gmail.com>2016-09-01 18:09:44 +1000
commitf98bb2ddcbfed7033ae93ae8fe98b0540a9fb42f (patch)
treee0cc5f6fb0d9ff1124ae99b360fde5dd59c660b9 /tests/unix
parentce1c786297e69df4a82e83ac379f8ef068e709f6 (diff)
downloadmicropython-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.exp1
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