Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Clean up unused timeouts
Jakub Novak2d37df4abb24
diff --git a/packages/python-sdk/tests/async/sandbox_async/test_timeout.py b/packages/python-sdk/tests/async/sandbox_async/test_timeout.pyindex 0e40e251d..3d48f59ce 100644--- a/packages/python-sdk/tests/async/sandbox_async/test_timeout.py+++ b/packages/python-sdk/tests/async/sandbox_async/test_timeout.py@@ -2,13 +2,13 @@ import pytestfrom time import sleep-from e2b.exceptions import TimeoutExceptionfrom e2b import AsyncSandbox@pytest.mark.skip_debug()[email protected]('execution_number', range(50))@pytest.mark.asyncio-async def test_shorten_timeout(async_sandbox: AsyncSandbox):+async def test_shorten_timeout(async_sandbox: AsyncSandbox, execution_number):await async_sandbox.set_timeout(5)sleep(6)diff --git a/packages/python-sdk/tests/sync/sandbox_sync/test_timeout.py b/packages/python-sdk/tests/sync/sandbox_sync/test_timeout.pyindex fb7121a5b..e8015fdfb 100644--- a/packages/python-sdk/tests/sync/sandbox_sync/test_timeout.py+++ b/packages/python-sdk/tests/sync/sandbox_sync/test_timeout.py@@ -1,5 +1,4 @@from time import sleep-from e2b.exceptions import TimeoutExceptionimport pytest