From 8c3fd9900924c3d7b84bd09dee5cd7cefd25b0e9 Mon Sep 17 00:00:00 2001 From: Peter Law Date: Sun, 26 Apr 2020 01:05:04 +0100 Subject: [PATCH] Tell sith that goto_assignments is now goto --- sith.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sith.py b/sith.py index 4718b8c1..dcdc39e3 100755 --- a/sith.py +++ b/sith.py @@ -123,7 +123,7 @@ class TestCase(object): with open(self.path) as f: self.script = jedi.Script(f.read(), path=self.path) kwargs = {} - if self.operation == 'goto_assignments': + if self.operation == 'goto': kwargs['follow_imports'] = random.choice([False, True]) self.objects = getattr(self.script, self.operation)(self.line, self.column, **kwargs)