XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet
公开
关注 0 Fork 0 Star 1
返回提交历史

XFEstudio/gpt4free

Update mcp.py

63d1dce4
H Lohaus <hlohaus@users.noreply.github.com>
提交于

代码差异

1 个文件 +1 -1
Modified etc/unittest/mcp.py +1 -1
@@ -305,7 +305,7 @@ class TestSafeCodeExecution(unittest.TestCase):
305 305 self.assertIn("ZeroDivisionError", r.error)
306 306
307 307 def test_blocked_os_import(self):
308 r = execute_safe_code("import os")
308 r = execute_safe_code("from os import system")
309 309 self.assertFalse(r.success)
310 310
311 311 def test_blocked_sys_import(self):