Skip to content

Commit 782af65

Browse files
committed
[GR-33173] Fixing problem in StringUtilsTests
1 parent 672fdcc commit 782af65

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/parser/StringUtilsTests.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,7 @@
5454

5555
public class StringUtilsTests extends ParserTestBase {
5656
private static final ParserErrorCallback errorCallback = new ParserErrorCallback() {
57-
@Override
58-
public RuntimeException raise(PythonBuiltinClassType type, String message, Object... args) {
59-
Assert.fail("Unexpected error: " + String.format(message, args));
60-
return null;
61-
}
62-
57+
6358
@Override
6459
public RuntimeException raiseInvalidSyntax(ErrorType type, Source source, SourceSection section, String message, Object... arguments) {
6560
Assert.fail("Unexpected error: " + String.format(message, arguments));

0 commit comments

Comments
 (0)