Skip to content

Commit ad51cc6

Browse files
committed
Correcting test.
1 parent c2df5b8 commit ad51cc6

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void open() {
7575

7676
@Test
7777
public void openFail() {
78-
assertLastLineErrorContains("OSError",
78+
assertLastLineErrorContains("FileNotFoundError",
7979
"import posix; print(posix.open('prettysurethisisnthere', 0) > 2)");
8080
}
8181

0 commit comments

Comments
 (0)