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 0c65f67 commit 98824a2Copy full SHA for 98824a2
tests/beacon/test_helpers.py
@@ -63,10 +63,6 @@
63
)
64
65
66
-class UnreachableCodePathError(Exception):
67
- pass
68
-
69
70
@pytest.fixture()
71
def sample_block(sample_beacon_block_params):
72
return SerenityBeaconBlock(**sample_beacon_block_params)
@@ -886,8 +882,7 @@ def _corrupt_vote_count(params):
886
882
new_vote_count,
887
883
888
884
else:
889
- msg = "list of ``custody_bit_0_indices`` should not exhaust ``itertools.count``"
890
- raise UnreachableCodePathError(msg)
885
+ raise Exception("Unreachable code path")
891
892
893
def _create_slashable_vote_data_messages(params):
0 commit comments