mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 14:34:31 +08:00
CompiledObject -> CompiledValue
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from jedi.inference.compiled import CompiledObject
|
||||
from jedi.inference.compiled import CompiledValue
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -15,4 +15,4 @@ def test_equals(Script, environment, source):
|
||||
script = Script(source)
|
||||
node = script._module_node.children[0]
|
||||
first, = script._get_module_context().infer_node(node)
|
||||
assert isinstance(first, CompiledObject) and first.get_safe_value() is True
|
||||
assert isinstance(first, CompiledValue) and first.get_safe_value() is True
|
||||
|
||||
Reference in New Issue
Block a user