fix bug, test should run properly, forward generator in return

This commit is contained in:
protolambda 2020-01-06 00:06:57 +01:00
parent 2f3919c176
commit 0cf866e799
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623

View File

@ -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