@@ -59,7 +59,7 @@ public class JythonTest {
5959 public void testBasic () throws InterruptedException , ExecutionException ,
6060 IOException , ScriptException
6161 {
62- final Context context = new Context (ScriptService . class );
62+ final Context context = new Context ();
6363 final ScriptService scriptService = context .getService (ScriptService .class );
6464 final String script = "1 + 2" ;
6565 final ScriptModule m = scriptService .run ("add.py" , script , true ).get ();
@@ -70,7 +70,7 @@ public void testBasic() throws InterruptedException, ExecutionException,
7070
7171 @ Test
7272 public void testLocals () throws ScriptException {
73- final Context context = new Context (ScriptService . class );
73+ final Context context = new Context ();
7474 final ScriptService scriptService = context .getService (ScriptService .class );
7575
7676 final ScriptLanguage language = scriptService .getLanguageByExtension ("py" );
@@ -89,7 +89,7 @@ public void testLocals() throws ScriptException {
8989 public void testParameters () throws InterruptedException , ExecutionException ,
9090 IOException , ScriptException
9191 {
92- final Context context = new Context (ScriptService . class );
92+ final Context context = new Context ();
9393 final ScriptService scriptService = context .getService (ScriptService .class );
9494
9595 final String script = "" + //
@@ -128,7 +128,7 @@ public void testParameters() throws InterruptedException, ExecutionException,
128128 public void testLongType () throws InterruptedException , ExecutionException ,
129129 IOException , ScriptException
130130 {
131- final Context context = new Context (ScriptService . class );
131+ final Context context = new Context ();
132132 final ScriptService scriptService = context .getService (ScriptService .class );
133133
134134 final String script = "" + //
0 commit comments