mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-24 17:28:36 +08:00
Fix tests
This commit is contained in:
@@ -148,13 +148,6 @@ class Value(HelperValueMixin):
|
|||||||
self.inference_state = inference_state
|
self.inference_state = inference_state
|
||||||
self.parent_context = parent_context
|
self.parent_context = parent_context
|
||||||
|
|
||||||
def get_root_context(self):
|
|
||||||
value = self
|
|
||||||
while True:
|
|
||||||
if value.parent_context is None:
|
|
||||||
return value
|
|
||||||
value = value.parent_context
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def api_type(self):
|
def api_type(self):
|
||||||
# By default just lower name of the class. Can and should be
|
# By default just lower name of the class. Can and should be
|
||||||
|
|||||||
Reference in New Issue
Block a user