mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
fix python interpreter testcase
This commit is contained in:
parent
e8570d2b6d
commit
ac92cdb514
1 changed files with 0 additions and 6 deletions
|
|
@ -93,12 +93,6 @@ public class PythonInterpreterTest implements InterpreterOutputListener {
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue