Skip to content

Commit f2dc5e3

Browse files
committed
Fix failing junit test
1 parent 94de488 commit f2dc5e3

File tree

1 file changed

+2
-1
lines changed
  • graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/module

1 file changed

+2
-1
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/module/PosixTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ public void read() throws IOException {
133133
public void lseek() throws IOException {
134134
Files.write(tmpfile, "hello".getBytes());
135135
assertPrints("b'llo'\n", open("0") +
136-
"posix.lseek(fd, 2, posix.SEEK_SET)\n" +
136+
"import os\n" +
137+
"posix.lseek(fd, 2, os.SEEK_SET)\n" +
137138
"print(posix.read(fd, 3))");
138139
}
139140

0 commit comments

Comments
 (0)