Update test_generators/ssz/uint_test_cases.py

Co-Authored-By: protolambda <proto@protolambda.com>
This commit is contained in:
Danny Ryan 2019-04-15 23:31:42 +10:00 committed by GitHub
parent 943989c611
commit 13317d3dfc
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ def generate_random_uint_test_cases():
sedes = UInt(bit_size)
for _ in range(RANDOM_TEST_CASES_PER_BIT_SIZE):
value = random.randrange(0, 2 ** bit_size)
value = random.randrange(0, 2**bit_size)
serial = ssz.encode(value, sedes)
# note that we need to create the tags in each loop cycle, otherwise ruamel will use
# YAML references which makes the resulting file harder to read