diff --git a/linkis-engineconn-plugins/python/src/test/scala/org/apache/linkis/manager/engineplugin/python/executor/TestPythonEngineConnExecutor.scala b/linkis-engineconn-plugins/python/src/test/scala/org/apache/linkis/manager/engineplugin/python/executor/TestPythonEngineConnExecutor.scala index 0f64bb8053..c53c40dd8d 100644 --- a/linkis-engineconn-plugins/python/src/test/scala/org/apache/linkis/manager/engineplugin/python/executor/TestPythonEngineConnExecutor.scala +++ b/linkis-engineconn-plugins/python/src/test/scala/org/apache/linkis/manager/engineplugin/python/executor/TestPythonEngineConnExecutor.scala @@ -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() - } +// } } }