File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,11 @@ def throw():
173
173
174
174
175
175
@pytest .mark .skipif (sys .version_info [0 ] < 3 , reason = "Python 2 not supported" )
176
- def test_completions ():
176
+ def test_completions (julia ):
177
177
from IPython .core .completer import provisionalcompleter
178
178
from julia .ipy .monkeypatch_completer import JuliaCompleter
179
179
180
- jc = JuliaCompleter ()
180
+ jc = JuliaCompleter (julia )
181
181
t = "%julia Base.si"
182
182
with provisionalcompleter ():
183
183
completions = jc .julia_completions (t , len (t ))
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ def test():
48
48
@pytest .mark .skipif (
49
49
is_windows , reason = "cannot run on Windows; symlink is used inside test"
50
50
)
51
- def test_undo_no_julia (testdir , request ):
51
+ def test_undo_no_julia (testdir , request , julia ):
52
52
if request .config .getoption ("runpytest" ) != "subprocess" :
53
53
raise ValueError ("Need `-p pytester --runpytest=subprocess` options." )
54
54
You can’t perform that action at this time.
0 commit comments