From 9e6a51ef70f3e93d0fe4c5c802ee3c2d20b62ff9 Mon Sep 17 00:00:00 2001 From: Alex Stokes Date: Sat, 21 Aug 2021 18:07:12 -0700 Subject: [PATCH] update fn name for test id --- .../pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py b/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py index d7749909e..98b251add 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py +++ b/tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks_random.py @@ -70,9 +70,9 @@ def _last_slot_in_epoch(spec): 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 f + return _a_slot_in_epoch def _penultimate_slot_in_epoch(spec):