Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions tests/async/test_async_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ async def test_return_likelihoods_generation(async_client):

@pytest.mark.asyncio
async def test_raise_ex(async_client):
with pytest.raises(CohereAPIError):
await async_client.generate(prompt="too long", max_tokens=100000)

with pytest.raises(CohereAPIError):
await async_client.batch_generate(
["not too long", "way too long even if we support 8 k tokens" * 2000],
Expand Down