Skip to content

Commit

Permalink
fix minor testing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
djrtwo committed Aug 23, 2019
1 parent af30324 commit db34ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_generators/ssz_generic/ssz_bitvector.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from eth2spec.debug.random_value import RandomizationMode, get_random_ssz_object


def bitvector_case_fn(rng: Random, mode: RandomizationMode, size: int, invalid_making_pos: int):
def bitvector_case_fn(rng: Random, mode: RandomizationMode, size: int, invalid_making_pos: int=None):
bits = get_random_ssz_object(rng, Bitvector[size],
max_bytes_length=(size + 7) // 8,
max_list_length=size,
Expand Down

0 comments on commit db34ee1

Please sign in to comment.