mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-22 04:38:55 +08:00
Make sure that jedi.names is not references anymore
This commit is contained in:
@@ -106,8 +106,8 @@ def Script(environment):
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
def names(environment):
|
||||
return partial(jedi.names, environment=environment)
|
||||
def names(Script):
|
||||
return lambda code, **kwargs: Script(code).names(**kwargs)
|
||||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
|
||||
Reference in New Issue
Block a user