summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_userfs.py.exp
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-09-05 18:18:47 +1000
committerDamien George <damien@micropython.org>2023-09-14 13:03:31 +1000
commit397697aa8368f45bd0794e22a25083e9e18e3cfe (patch)
tree0a083c8d82d3ae60d2dcdfc24e59de025732f9f8 /tests/extmod/vfs_userfs.py.exp
parent5e122b11eaee64bbece2ace08fc3f994d5f83f2e (diff)
py/persistentcode: Always close reader even if an exception is raised.
Fixes issue #3874. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod/vfs_userfs.py.exp')
-rw-r--r--tests/extmod/vfs_userfs.py.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/extmod/vfs_userfs.py.exp b/tests/extmod/vfs_userfs.py.exp
index be54da47c..05cff0452 100644
--- a/tests/extmod/vfs_userfs.py.exp
+++ b/tests/extmod/vfs_userfs.py.exp
@@ -15,3 +15,9 @@ stat /usermod3.py
open /usermod3.py rb
ioctl 4 0
SyntaxError in usermod3
+stat /usermod4
+stat /usermod4.py
+stat /usermod4.mpy
+open /usermod4.mpy rb
+ioctl 4 0
+ValueError in usermod4