Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbourbeau committed Mar 14, 2024
1 parent 48bda01 commit 9cb5fa6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion distributed/tests/test_sizeof.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ def __sizeof__(self):
with captured_logger("distributed.sizeof") as logs:
assert safe_sizeof(foo) == 1e6

assert f"Sizeof calculation for object of type 'test_sizeof.BadlySized' failed. Defaulting to 0.95 MiB" in logs.getvalue()
assert (
"Sizeof calculation for object of type 'test_sizeof.BadlySized' failed. Defaulting to 0.95 MiB"
in logs.getvalue()
)

# Can provide custom `default_size`
with captured_logger("distributed.sizeof") as logs:
Expand Down

0 comments on commit 9cb5fa6

Please sign in to comment.