Skip to content

Commit c8a8358

Browse files
committed
Fix format
Signed-off-by: cyy <[email protected]>
1 parent 4bcbdf1 commit c8a8358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_pi(requires_cuda, model_and_tokenizer, inference_kernel, DQ, dtype):
112112
assert len(outputs) == n_cases
113113
failure_count = 0
114114
for i in range(n_cases):
115-
if outputs[i][:len(str(math.pi))] != str(math.pi):
115+
if outputs[i][: len(str(math.pi))] != str(math.pi):
116116
failure_count += 1
117117
failure_max = 2 if fixture_config[0] == "huggyllama/llama-7b" else 4
118118
if failure_count > failure_max:

0 commit comments

Comments
 (0)