summaryrefslogtreecommitdiffstatshomepage
path: root/tests/unix/ffi_float.py
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/ffi_float.py
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/ffi_float.py')
0 files changed, 0 insertions, 0 deletions