Skip to content

Commit

Permalink
fix python interpreter testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
astroshim committed Mar 15, 2017
1 parent e8570d2 commit ac92cdb
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,6 @@ public void afterTest() throws IOException {
pythonInterpreter.close();
}

@Test
public void testInterpret() throws InterruptedException, IOException {
InterpreterResult result = pythonInterpreter.interpret("print \"hi\"", context);
assertEquals(InterpreterResult.Code.SUCCESS, result.code());
}

@Test
public void testInterpretInvalidSyntax() throws IOException {
InterpreterResult result = pythonInterpreter.interpret("for x in range(0,3): print (\"hi\")\n", context);
Expand Down

0 comments on commit ac92cdb

Please sign in to comment.