Skip to content

Commit

Permalink
Edit
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadnaseri committed Sep 27, 2024
1 parent 422f07c commit 42c7fa8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/py/flwr/common/message_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def test_reply_ttl_limitation(
else:
reply_message = message.create_reply(content=RecordSet(), ttl=reply_ttl)

assert (
abs(reply_message.metadata.ttl - expected_reply_ttl) <= TTL_TOLERANCE
), f"Expected TTL to be <= {expected_reply_ttl}, "
" but got {reply_message.metadata.ttl}"
assert abs(reply_message.metadata.ttl - expected_reply_ttl) <= TTL_TOLERANCE, (
f"Expected TTL to be <= {expected_reply_ttl}, "
f"but got {reply_message.metadata.ttl}"
)

0 comments on commit 42c7fa8

Please sign in to comment.