Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

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.py
index 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 pytest
from time import sleep
-from e2b.exceptions import TimeoutException
from 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.py
index 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 TimeoutException
import pytest