Update tests/generators/ssz_generic/ssz_container.py

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
Antonio Sanso 2022-01-06 19:07:23 +01:00 committed by GitHub
parent 22719f2748
commit 7df0d4d70e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def invalid_cases():
if mode == RandomizationMode.mode_max_count:
serialized = serialize(container_case_fn(rng, mode, typ))
serialized = serialized + serialized[:2]
yield f'{name}_{mode.to_name()}_last offset_{offset_index}_overflow', \
yield f'{name}_{mode.to_name()}_last_offset_{offset_index}_overflow', \
invalid_test_case(lambda: serialized)
if mode == RandomizationMode.mode_one_count:
serialized = serialize(container_case_fn(rng, mode, typ))