Skip to content

Commit be1036d

Browse files
committed
fix style
1 parent e7ca92c commit be1036d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/test_connect.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,9 @@ async def state_checker() -> None:
405405

406406
checker.cancel()
407407

408-
assert states.get(ConnectionState.CONNECTING, False), "was in connecting"
408+
assert states.get(ConnectionState.CONNECTING, False), (
409+
"was in connecting"
410+
)
409411

410412
with pytest.raises(TarantoolNotConnectedError):
411413
await conn.call("box.info")
@@ -776,9 +778,9 @@ async def state_checker() -> None:
776778
checker.cancel()
777779

778780
assert states.get(ConnectionState.CONNECTING, False), "was in connecting"
779-
assert states.get(
780-
ConnectionState.RECONNECTING, False
781-
), "was in reconnecting"
781+
assert states.get(ConnectionState.RECONNECTING, False), (
782+
"was in reconnecting"
783+
)
782784

783785
with pytest.raises(TarantoolNotConnectedError):
784786
await conn.call("box.info")

0 commit comments

Comments
 (0)