Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
hwwhww committed Jul 4, 2019
1 parent dc8e2d2 commit f531f6b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/tree_hash/test_aliases_tree_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ def test_byte(value):
def test_byte_list(value):
byte_sequence = tuple(bytes([byte_value]) for byte_value in value)
max_length = ssz.utils.get_next_power_of_two(len(value))
assert ssz.hash_tree_root(value, byte_list) == ssz.hash_tree_root(byte_sequence, List(byte, max_length))
assert (
ssz.hash_tree_root(value, byte_list) ==
ssz.hash_tree_root(byte_sequence, List(byte, max_length))
)


@given(st.binary())
Expand Down

0 comments on commit f531f6b

Please sign in to comment.