summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_fat_oldproto.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/extmod/vfs_fat_oldproto.py')
-rw-r--r--tests/extmod/vfs_fat_oldproto.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/extmod/vfs_fat_oldproto.py b/tests/extmod/vfs_fat_oldproto.py
index 3caaa368d..93d00f9ce 100644
--- a/tests/extmod/vfs_fat_oldproto.py
+++ b/tests/extmod/vfs_fat_oldproto.py
@@ -11,6 +11,7 @@ except AttributeError:
print("SKIP")
raise SystemExit
+
class RAMFS_OLD:
SEC_SIZE = 512
@@ -19,12 +20,12 @@ class RAMFS_OLD:
self.data = bytearray(blocks * self.SEC_SIZE)
def readblocks(self, n, buf):
- #print("readblocks(%s, %x(%d))" % (n, id(buf), len(buf)))
+ # print("readblocks(%s, %x(%d))" % (n, id(buf), len(buf)))
for i in range(len(buf)):
buf[i] = self.data[n * self.SEC_SIZE + i]
def writeblocks(self, n, buf):
- #print("writeblocks(%s, %x)" % (n, id(buf)))
+ # print("writeblocks(%s, %x)" % (n, id(buf)))
for i in range(len(buf)):
self.data[n * self.SEC_SIZE + i] = buf[i]