mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Some refactoring to finally get tests working with py27 and 3 environments
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user