Skip to content

Commit

Permalink
fix python unit testing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
“v_kkhuang” committed Sep 24, 2024
1 parent d6bc5ee commit a9daf53
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,13 @@ class TestPythonEngineConnExecutor {
// executor.init()
// Assertions.assertTrue(executor.isEngineInitialized)
// if (!System.getProperty("os.name").startsWith("Windows")) {
//// engineConn.getEngineConnSession.asInstanceOf[PythonSession].onPythonScriptInitialized(1)
//// hookPre.beforeExecutionExecute(engineCreationContext, engineConn)
// engineConn.getEngineConnSession.asInstanceOf[PythonSession].onPythonScriptInitialized(1)
// hookPre.beforeExecutionExecute(engineCreationContext, engineConn)
// val engineExecutionContext = new EngineExecutionContext(executor, Utils.getJvmUser)
// val code = "for i in range(10):\n print(i)"
// val response = executor.executeLine(engineExecutionContext, code)
// Assertions.assertNotNull(response)
// executor.close()
// }
// }

}
}

0 comments on commit a9daf53

Please sign in to comment.