Skip to content

Commit e49eac4

Browse files
style: apply pyink formatting to thread pool test file
1 parent 5580d45 commit e49eac4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/unittests/flows/llm_flows/test_functions_thread_pool.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,12 @@ def blocking_sleep() -> dict:
281281
@pytest.mark.parametrize(
282282
'return_value,use_implicit_return',
283283
[
284-
(None, True), # implicit None (no return statement)
284+
(None, True), # implicit None (no return statement)
285285
(None, False), # explicit `return None`
286-
(0, False), # falsy int
287-
('', False), # falsy str
288-
({}, False), # falsy dict
289-
(False, False), # falsy bool
286+
(0, False), # falsy int
287+
('', False), # falsy str
288+
({}, False), # falsy dict
289+
(False, False), # falsy bool
290290
],
291291
)
292292
async def test_sync_tool_falsy_return_executes_exactly_once(
@@ -323,9 +323,9 @@ def sync_func():
323323
result = await _call_tool_in_thread_pool(tool, {}, tool_context)
324324

325325
assert result == return_value
326-
assert call_count == 1, (
327-
f'Tool function executed {call_count} time(s); expected exactly 1.'
328-
)
326+
assert (
327+
call_count == 1
328+
), f'Tool function executed {call_count} time(s); expected exactly 1.'
329329

330330
@pytest.mark.asyncio
331331
async def test_sync_tool_exception_propagates(self):

0 commit comments

Comments
 (0)