Skip to content

Commit

Permalink
Fix --no-julia; declare missing dependencies (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf authored Oct 25, 2021
1 parent a5290c4 commit 0f781a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/julia/tests/test_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ def throw():


@pytest.mark.skipif(sys.version_info[0] < 3, reason="Python 2 not supported")
def test_completions():
def test_completions(julia):
from IPython.core.completer import provisionalcompleter
from julia.ipy.monkeypatch_completer import JuliaCompleter

jc = JuliaCompleter()
jc = JuliaCompleter(julia)
t = "%julia Base.si"
with provisionalcompleter():
completions = jc.julia_completions(t, len(t))
Expand Down
2 changes: 1 addition & 1 deletion src/julia/tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test():
@pytest.mark.skipif(
is_windows, reason="cannot run on Windows; symlink is used inside test"
)
def test_undo_no_julia(testdir, request):
def test_undo_no_julia(testdir, request, julia):
if request.config.getoption("runpytest") != "subprocess":
raise ValueError("Need `-p pytester --runpytest=subprocess` options.")

Expand Down

0 comments on commit 0f781a5

Please sign in to comment.