mirror of
https://github.com/Sun-ZhenXing/mcp-template-python.git
synced 2026-05-06 14:08:56 +00:00
feat: add blockbuster & fix docker
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import time
|
||||
|
||||
import pytest
|
||||
from blockbuster import BlockingError
|
||||
|
||||
|
||||
async def test_time_sleep() -> None:
|
||||
with pytest.raises(BlockingError):
|
||||
time.sleep(0.1) # This should raise a BlockingError
|
||||
Reference in New Issue
Block a user