mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-03 14:24:24 +00:00
fix bug, test should run properly, forward generator in return
This commit is contained in:
parent
2f3919c176
commit
0cf866e799
@ -112,7 +112,7 @@ def single_phase(fn):
|
|||||||
def entry(*args, **kw):
|
def entry(*args, **kw):
|
||||||
if 'phases' in kw:
|
if 'phases' in kw:
|
||||||
kw.pop('phases')
|
kw.pop('phases')
|
||||||
fn(*args, **kw)
|
return fn(*args, **kw)
|
||||||
return entry
|
return entry
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user