Skip to content

Commit 0f781a5

Browse files
authored
Fix --no-julia; declare missing dependencies (#469)
1 parent a5290c4 commit 0f781a5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/julia/tests/test_magic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ def throw():
173173

174174

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

180-
jc = JuliaCompleter()
180+
jc = JuliaCompleter(julia)
181181
t = "%julia Base.si"
182182
with provisionalcompleter():
183183
completions = jc.julia_completions(t, len(t))

src/julia/tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def test():
4848
@pytest.mark.skipif(
4949
is_windows, reason="cannot run on Windows; symlink is used inside test"
5050
)
51-
def test_undo_no_julia(testdir, request):
51+
def test_undo_no_julia(testdir, request, julia):
5252
if request.config.getoption("runpytest") != "subprocess":
5353
raise ValueError("Need `-p pytester --runpytest=subprocess` options.")
5454

0 commit comments

Comments
 (0)