Skip to content

Commit a2ecc9f

Browse files
committed
fix style
1 parent 9937ce4 commit a2ecc9f

File tree

1 file changed

+18
-18
lines changed
  • graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/interop

1 file changed

+18
-18
lines changed

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/interop/JavaInteropTest.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -340,15 +340,15 @@ public Object execute(Value... arguments) {
340340
public void runAForeignExecutable() throws IOException {
341341
Source suitePy = Source.newBuilder("python",
342342
"""
343-
def foo(obj):
344-
try:
345-
obj()
346-
except TypeError as e:
347-
pass
348-
else:
349-
assert False
350-
foo
351-
""",
343+
def foo(obj):
344+
try:
345+
obj()
346+
except TypeError as e:
347+
pass
348+
else:
349+
assert False
350+
foo
351+
""",
352352
"suite.py").build();
353353
Value foo = context.eval(suitePy);
354354
foo.execute(new AForeignExecutable());
@@ -359,15 +359,15 @@ def foo(obj):
359359
public void invokeAForeignMember() throws IOException {
360360
Source suitePy = Source.newBuilder("python",
361361
"""
362-
def foo(obj):
363-
try:
364-
obj.fun()
365-
except TypeError as e:
366-
pass
367-
else:
368-
assert False
369-
foo
370-
""",
362+
def foo(obj):
363+
try:
364+
obj.fun()
365+
except TypeError as e:
366+
pass
367+
else:
368+
assert False
369+
foo
370+
""",
371371
"suite.py").build();
372372
Map<String, Object> m = new HashMap<>();
373373
m.put("fun", new AForeignExecutable());

0 commit comments

Comments
 (0)