Update test_generators/ssz/renderers.py

Co-Authored-By: protolambda <proto@protolambda.com>
This commit is contained in:
Danny Ryan 2019-04-15 23:09:05 +10:00 committed by GitHub
parent 6542ae2c4d
commit 79c8f562bd
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []