diff --git a/tests/julia/pyplot/verify b/tests/julia/pyplot/verify index d906c20c..70dc3582 100755 --- a/tests/julia/pyplot/verify +++ b/tests/julia/pyplot/verify @@ -2,7 +2,7 @@ using PyPlot # Make sure we are re-using the same conda python -if PyCall.libpython != "/srv/conda/lib/libpython3.6m" +if ! startswith(PyCall.libpython, ENV["NB_PYTHON_PREFIX"] * "/lib") println("Not re-using conda python! Using " * PyCall.libpython * " instead") exit(1) end @@ -16,4 +16,3 @@ if isfile("graph.png") else exit(1) end -