We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86526e9 commit 71c7c03Copy full SHA for 71c7c03
tools/mpremote/tests/test_mount.sh
@@ -26,3 +26,7 @@ $MPREMOTE mount ${TMP} exec "import mount_package; mount_package.x(); mount_pack
26
echo -----
27
$MPREMOTE mount ${TMP} exec "open('test.txt', 'w').write('hello world\n')"
28
cat "${TMP}/test.txt"
29
+
30
+# Test RemoteFile.readline and RemoteFile.readlines methods.
31
+echo -----
32
+$MPREMOTE mount ${TMP} exec "print(open('test.txt').readlines())"
tools/mpremote/tests/test_mount.sh.exp
@@ -5,3 +5,6 @@ Local directory ${TMP} is mounted at /remote
5
-----
6
Local directory ${TMP} is mounted at /remote
7
hello world
8
+-----
9
+['hello world\n']
10
+Local directory ${TMP} is mounted at /remote
0 commit comments