remove all the deprecation warnings in jedi itself

This commit is contained in:
David Halter committed 2013-08-11 23:00:27 +04:30
1 parent 0ab4119447
commit e07625017d
7 files changed
+21 -23

No files matched your search

+2 -2
View File
@@ -11,8 +11,8 @@ class TestInterpreterAPI(TestCase):
def check_interpreter_complete(self, source, namespace, completions,
**kwds):
script = jedi.Interpreter(source, [namespace], **kwds)
cs = script.complete()
actual = [c.word for c in cs]
cs = script.completions()
actual = [c.name for c in cs]
self.assertEqual(sorted(actual), sorted(completions))
def test_complete_raw_function(self):