MCPcopy Create free account
hub / github.com/dot-agent/nextpy / bad_chain2

Method bad_chain2

tests/test_state.py:1766–1769  ·  view source on GitHub ↗

Test that a background task generator cannot be chained.

(self)

Source from the content-addressed store, hash-verified

1764 await self.background_task()
1765
1766 async def bad_chain2(self):
1767 """Test that a background task generator cannot be chained."""
1768 async for _foo in self.background_task_generator():
1769 pass
1770
1771
1772@pytest.mark.asyncio

Callers 1

Calls 1

Tested by

no test coverage detected