test(test_completion.py): fix test to not raise exception if it works

This commit is contained in:
Krrish Dholakia 2024-04-25 13:31:19 -07:00
parent 160acc085a
commit a819454647

View file

@ -1781,7 +1781,6 @@ def test_completion_replicate_llama3():
print("RESPONSE STRING\n", response_str)
if type(response_str) != str:
pytest.fail(f"Error occurred: {e}")
raise Exception("it worked!")
except Exception as e:
pytest.fail(f"Error occurred: {e}")