Some refactoring to finally get tests working with py27 and 3 environments

This commit is contained in:
Dave Halter
2017-12-30 05:01:50 +01:00
parent b716fb7dc6
commit b901ab9b0d
3 changed files with 7 additions and 7 deletions

View File

@@ -30,9 +30,9 @@ def cwd_at(path):
"""
def decorator(func):
@functools.wraps(func)
def wrapper(Script, **kwds):
def wrapper(Script, **kwargs):
with set_cwd(path):
return func(Script, **kwds)
return func(Script, **kwargs)
return wrapper
return decorator