Merge branch 'dev' into code_intepreter

This commit is contained in:
yzlin 2024-02-01 20:10:33 +08:00
commit e7ae79b2cb
2 changed files with 5 additions and 2 deletions

View file

@ -38,7 +38,7 @@ async def test_run_script(context):
@pytest.mark.asyncio
async def test_run(context):
inputs = [
(RunCodeContext(mode="text", code_filename="a.txt", code="print('Hello, World')"), "PASS"),
(RunCodeContext(mode="text", code_filename="a.txt", code="result = 'helloworld'"), "PASS"),
(
RunCodeContext(
mode="script",