summaryrefslogtreecommitdiff
path: root/tests/float/bytearray_construct.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2025-08-08 08:53:14 -0500
committerDamien George <damien@micropython.org>2025-09-28 22:45:30 +1000
commit4b013ec3ff688b8dc3af0cc9159a5fc4c27d8d20 (patch)
tree36804b9e37aabd49f78614e2ab952740b21f7ec0 /tests/float/bytearray_construct.py
parentadf63198849caa8c660249782caa368589ef7916 (diff)
extmod/vfs_reader: Check that open() resulted in a file-like object.
That is, an object whose type defines the protocol slot. Note that due to protocol confusion, a variant of the original crasher that returned e.g., a machine.Pin instance could still lead to a crash (#17852). Fixes issue #17841. Signed-off-by: Jeff Epler <jepler@gmail.com> Signed-off-by: Jeff Epler <jepler@unpythonic.net>
Diffstat (limited to 'tests/float/bytearray_construct.py')
0 files changed, 0 insertions, 0 deletions