mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Make a first test working with mixed objects.
This commit is contained in:
@@ -56,7 +56,7 @@ def test_side_effect_completion():
|
||||
we need some mixed kind of magic for tests.
|
||||
"""
|
||||
_GlobalNameSpace.SideEffectContainer.foo = 1
|
||||
foo = get_completion('foo', _GlobalNameSpace.__dict__)
|
||||
foo = get_completion('SideEffectContainer.foo', _GlobalNameSpace.__dict__)
|
||||
assert foo.name == 'foo'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user