Skip to content

Commit

Permalink
fix unit testing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
“v_kkhuang” committed Sep 25, 2024
1 parent c30815e commit 44b11d5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ 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 44b11d5

Please sign in to comment.