mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 12:24:53 +00:00
fix: rerun pre commit lints
This commit is contained in:
parent
6706d8d139
commit
ca39f26f27
@ -54,6 +54,7 @@ async def test_flash_starcoder2_load(
|
||||
|
||||
assert responses == response_snapshot
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_flash_starcoder2_with_hugcode_adapter(
|
||||
flash_starcoder2, response_snapshot
|
||||
@ -73,6 +74,6 @@ async def test_flash_starcoder2_with_hugcode_adapter(
|
||||
|
||||
assert response.status_code == 200
|
||||
data = response.json()
|
||||
assert data["generated_text"] == "_world():\n print(\"Hello World!\")\n"
|
||||
assert data["generated_text"] == '_world():\n print("Hello World!")\n'
|
||||
|
||||
assert data == response_snapshot
|
||||
|
Loading…
Reference in New Issue
Block a user