From a79d97cb76cf6ec3794c357b706dd24970317c4a Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 16 Mar 2021 12:45:39 +1100 Subject: [PATCH] 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 --- tests/extmod/vfs_fat_fileio2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/extmod/vfs_fat_fileio2.py b/tests/extmod/vfs_fat_fileio2.py index a9cea2bed8..531dd91f94 100644 --- a/tests/extmod/vfs_fat_fileio2.py +++ b/tests/extmod/vfs_fat_fileio2.py @@ -112,3 +112,4 @@ try: f.write(bytearray(bsize * free)) except OSError as e: print("ENOSPC:", e.args[0] == 28) # uerrno.ENOSPC +f.close()