We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94de488 commit f2dc5e3Copy full SHA for f2dc5e3
graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/module/PosixTest.java
@@ -133,7 +133,8 @@ public void read() throws IOException {
133
public void lseek() throws IOException {
134
Files.write(tmpfile, "hello".getBytes());
135
assertPrints("b'llo'\n", open("0") +
136
- "posix.lseek(fd, 2, posix.SEEK_SET)\n" +
+ "import os\n" +
137
+ "posix.lseek(fd, 2, os.SEEK_SET)\n" +
138
"print(posix.read(fd, 3))");
139
}
140
0 commit comments