mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 21:55:22 -05:00
Update test_generators/ssz/renderers.py
Co-Authored-By: protolambda <proto@protolambda.com>
This commit is contained in:
@@ -77,7 +77,7 @@ def render_test_case(*, sedes, valid, value=None, serial=None, description=None,
|
||||
raise ValueError("For valid test cases, both value and ssz must be present")
|
||||
else:
|
||||
if value_and_serial_given:
|
||||
raise ValueError("For invalid test cases, either value or ssz must not be present")
|
||||
raise ValueError("For invalid test cases, one of either value or ssz must not be present")
|
||||
|
||||
if tags is None:
|
||||
tags = []
|
||||
|
||||
Reference in New Issue
Block a user