Skip to content

Commit

Permalink
IPdb: Fix code completions with IPython 7.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Dec 27, 2018
1 parent 0887f19 commit 9861649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion spyder_kernels/ipdb/spyderpdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,10 @@ def init(self):
shell=DummyShell(),
namespace=self._get_current_namespace()
)
self.completer.limit_to__all__ = False

# If Jedi is activated completions stop to work!
if not PY2:
self.completer.use_jedi = False

def start_ipdb_kernel(self):
"""Start IPdb kernel."""
Expand Down
1 change: 0 additions & 1 deletion spyder_kernels/ipdb/tests/test_ipdb_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ def test_help(ipdb_kernel):
assert resp == None


@pytest.mark.xfail
def test_complete(ipdb_kernel):
"""Check completion."""
kernel = ipdb_kernel
Expand Down

0 comments on commit 9861649

Please sign in to comment.