update fn name for test id

This commit is contained in:
Alex Stokes 2021-08-21 18:07:12 -07:00
parent fde71cbe74
commit 9e6a51ef70
No known key found for this signature in database
GPG Key ID: 99B3D88FD6C55A69
1 changed files with 2 additions and 2 deletions

View File

@ -70,9 +70,9 @@ def _last_slot_in_epoch(spec):
def _random_slot_in_epoch(rng): def _random_slot_in_epoch(rng):
def f(spec): def _a_slot_in_epoch(spec):
return rng.randrange(1, spec.SLOTS_PER_EPOCH - 2) return rng.randrange(1, spec.SLOTS_PER_EPOCH - 2)
return f return _a_slot_in_epoch
def _penultimate_slot_in_epoch(spec): def _penultimate_slot_in_epoch(spec):