Skip to content

Commit

Permalink
Mark venv test broken in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Oct 21, 2018
1 parent 9be4dd7 commit 31ef039
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions test/test_venv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,18 @@ end
env = copy(ENV)
env["PYCALL_JL_RUNTIME_PYTHON"] = newpython
jlcmd = setenv(`$(Base.julia_cmd()) -e $code`, env)
output = read(jlcmd, String)
@test newpython == output
if Compat.Sys.iswindows()
# Marking the test broken in Windows. It seems that
# venv copies .dll on Windows and libpython check in
# PyCall.__init__ detects that.
@test_broken begin
output = read(jlcmd, String)
newpython == output
end
else
output = read(jlcmd, String)
@test newpython == output
end
end
end
end

0 comments on commit 31ef039

Please sign in to comment.