Skip to content

Commit 31ef039

Browse files
committed
Mark venv test broken in Windows
1 parent 9be4dd7 commit 31ef039

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

test/test_venv.jl

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,18 @@ end
6060
env = copy(ENV)
6161
env["PYCALL_JL_RUNTIME_PYTHON"] = newpython
6262
jlcmd = setenv(`$(Base.julia_cmd()) -e $code`, env)
63-
output = read(jlcmd, String)
64-
@test newpython == output
63+
if Compat.Sys.iswindows()
64+
# Marking the test broken in Windows. It seems that
65+
# venv copies .dll on Windows and libpython check in
66+
# PyCall.__init__ detects that.
67+
@test_broken begin
68+
output = read(jlcmd, String)
69+
newpython == output
70+
end
71+
else
72+
output = read(jlcmd, String)
73+
@test newpython == output
74+
end
6575
end
6676
end
6777
end

0 commit comments

Comments
 (0)