Skip to content

Commit 163a56d

Browse files
Apply style fixes
1 parent 3e0b585 commit 163a56d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pipelines/qwenimage/test_qwenimage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def test_long_prompt_no_error(self):
246246
# This tests the original issue fix without triggering the warning
247247
phrase = "A beautiful, detailed, high-resolution, photorealistic image showing "
248248
long_prompt = phrase * 40 # Generates ~800 tokens, well within limits
249-
249+
250250
# Verify token count for test clarity
251251
tokenizer = components["tokenizer"]
252252
token_count = len(tokenizer.encode(long_prompt))
@@ -283,7 +283,7 @@ def test_long_prompt_warning(self):
283283
# Since _current_max_len is 1024 and height=width=32, we need > 992 tokens
284284
phrase = "A detailed photorealistic image showing many beautiful elements and complex artistic creative features with intricate designs."
285285
long_prompt = phrase * 58 # Generates ~1045 tokens, ensuring required_len > 1024
286-
286+
287287
# Verify we exceed the threshold (for test robustness)
288288
tokenizer = components["tokenizer"]
289289
token_count = len(tokenizer.encode(long_prompt))

0 commit comments

Comments
 (0)