Start adding tests for goto_assignments on stubs

This commit is contained in:
Dave Halter committed 2019-04-10 20:41:05 +02:00
1 parent 31442ecb3b
commit 9f26c27b6d
5 files changed
+53 -6

No files matched your search

+7
View File
@@ -18,6 +18,13 @@ from jedi.evaluate.cache import evaluator_as_method_param_cache
class HelperContextMixin(object):
def get_root_context(self):
context = self
while True:
if context.parent_context is None:
return context
context = context.parent_context
@classmethod
@evaluator_as_method_param_cache()
def create_cached(cls, *args, **kwargs):