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

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

No files matched your search

+2 -2
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