mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-05 08:42:51 +08:00
Some refactoring to finally get tests working with py27 and 3 environments
This commit is contained in:
1 parent
b716fb7dc6
commit
b901ab9b0d
3 files changed
+7
-7
No files matched your search
+2
-2
@@ -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