tests/extmod/vfs_fat_fileio2.py: Close test file at end of test.

Otherwise it can lead to inconsistent results running subsequent tests.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George 2021-03-16 12:45:39 +11:00
parent 2b888aa2f3
commit a79d97cb76
1 changed files with 1 additions and 0 deletions

View File

@ -112,3 +112,4 @@ try:
f.write(bytearray(bsize * free))
except OSError as e:
print("ENOSPC:", e.args[0] == 28) # uerrno.ENOSPC
f.close()