We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fe6b38 commit 3fd91a1Copy full SHA for 3fd91a1
tests/beacon/test_helpers.py
@@ -62,10 +62,6 @@
62
)
63
64
65
-class UnreachableCodePathError(Exception):
66
- pass
67
-
68
69
@pytest.fixture()
70
def sample_block(sample_beacon_block_params):
71
return SerenityBeaconBlock(**sample_beacon_block_params)
@@ -861,8 +857,7 @@ def _corrupt_vote_count(params):
861
857
new_vote_count,
862
858
863
859
else:
864
- msg = "list of ``custody_bit_0_indices`` should not exhaust ``itertools.count``"
865
- raise UnreachableCodePathError(msg)
860
+ raise Exception("Unreachable code path")
866
867
868
def _create_slashable_vote_data_messages(params):
0 commit comments