8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5555f14 commit 04f11b0Copy full SHA for 04f11b0
tests/extmod/vfs_fat_finaliser.py
@@ -70,6 +70,7 @@ def ioctl(self, op, arg):
70
f.write(n)
71
f = None # release f without closing
72
[0, 1, 2, 3] # use up Python stack so f is really gone
73
+
74
gc.collect() # should finalise all N files by closing them
75
for i in range(N):
76
with vfs.open("x%d" % i, "r") as f:
0 commit comments