mirror of
https://github.com/davidhalter/jedi.git
synced 2026-11-03 05:07:31 +08:00
Use access handles everywhere
This commit is contained in:
1 parent
7db6d11c49
commit
f09ca9fc20
6 files changed
+51
-50
No files matched your search
@@ -14,4 +14,4 @@ def test_equals(source):
|
||||
script = Script(source)
|
||||
node = script._get_module_node().children[0]
|
||||
first, = script._get_module().eval_node(node)
|
||||
assert isinstance(first, CompiledObject) and first.access._obj is True
|
||||
assert isinstance(first, CompiledObject) and first.access_handle.access._obj is True
|
||||
Reference in new issue
Block a user