diff --git a/tests/async/test_async_generate.py b/tests/async/test_async_generate.py index c909e0adc..dcebbb6f6 100644 --- a/tests/async/test_async_generate.py +++ b/tests/async/test_async_generate.py @@ -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],