Skip to content

Commit 947a3df

Browse files
committed
Skip python-jl test in Windows
1 parent 03dc386 commit 947a3df

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

julia/python_jl.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
Deiban-based distribution such as Ubuntu and Python executable installed by
88
Conda in Linux.
99
10+
In Windows and macOS, this CLI is not necessary because those platforms do
11+
not have the pre-compilation issue mentioned above. In fact, this CLI is
12+
known to not work on Windows at the moment.
13+
1014
Although this script has -i option and it can do a basic REPL, contrl-c may
1115
crash the whole process. Consider using IPython >= 7 which can be launched
1216
by::

test/test_python_jl.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
from julia.core import which
77
from julia.python_jl import parse_pyjl_args
88

9+
is_windows = os.name == "nt"
10+
911
PYJULIA_TEST_REBUILD = os.environ.get("PYJULIA_TEST_REBUILD", "no") == "yes"
1012
JULIA = os.environ.get("JULIA_EXE")
1113

@@ -50,6 +52,9 @@ def test_cli_quick_pass_no_julia(cli_args):
5052
)
5153

5254

55+
@pytest.mark.skipif(
56+
is_windows,
57+
reason="python-jl is not supported in Windows")
5358
@pytest.mark.skipif(
5459
not PYJULIA_TEST_REBUILD,
5560
reason="PYJULIA_TEST_REBUILD=yes is not set")

0 commit comments

Comments
 (0)