From 0cf866e7993e86a12a3c32fdedd447a3ad922419 Mon Sep 17 00:00:00 2001 From: protolambda Date: Mon, 6 Jan 2020 00:06:57 +0100 Subject: [PATCH] fix bug, test should run properly, forward generator in return --- test_libs/pyspec/eth2spec/test/context.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_libs/pyspec/eth2spec/test/context.py b/test_libs/pyspec/eth2spec/test/context.py index 149836787..0add9f638 100644 --- a/test_libs/pyspec/eth2spec/test/context.py +++ b/test_libs/pyspec/eth2spec/test/context.py @@ -112,7 +112,7 @@ def single_phase(fn): def entry(*args, **kw): if 'phases' in kw: kw.pop('phases') - fn(*args, **kw) + return fn(*args, **kw) return entry