summaryrefslogtreecommitdiff
path: root/tests/extmod/vfs_lfs_mount.py
diff options
context:
space:
mode:
authorstijn <stijn@ignitron.net>2020-06-18 11:19:14 +0200
committerDamien George <damien@micropython.org>2020-09-04 00:10:24 +1000
commit40ad8f1666b265dafc7844d765f45cfae4b6299f (patch)
treed073a4b4f791f53d1a73c47d029bf2b49f041d5e /tests/extmod/vfs_lfs_mount.py
parentb0932fcf2e2f9a81abf7737ed4b2573bd9ad4a49 (diff)
all: Rename "sys" module to "usys".
This is consistent with the other 'micro' modules and allows implementing additional features in Python via e.g. micropython-lib's sys. Note this is a breaking change (not backwards compatible) for ports which do not enable weak links, as "import sys" must now be replaced with "import usys".
Diffstat (limited to 'tests/extmod/vfs_lfs_mount.py')
-rw-r--r--tests/extmod/vfs_lfs_mount.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/extmod/vfs_lfs_mount.py b/tests/extmod/vfs_lfs_mount.py
index 9207f4a8c..2c40b2989 100644
--- a/tests/extmod/vfs_lfs_mount.py
+++ b/tests/extmod/vfs_lfs_mount.py
@@ -68,17 +68,17 @@ def test(bdev, vfs_class):
uos.umount("/lfs")
# clear imported modules
- sys.modules.clear()
+ usys.modules.clear()
bdev = RAMBlockDevice(30)
# initialise path
-import sys
+import usys
-sys.path.clear()
-sys.path.append("/lfs")
-sys.path.append("")
+usys.path.clear()
+usys.path.append("/lfs")
+usys.path.append("")
# run tests
test(bdev, uos.VfsLfs1)