1111from pytask import Task
1212from pytask import build
1313from pytask import cli
14- from pytask_julia .execute import pytask_execute_task_setup
1514
15+ from pytask_julia .execute import pytask_execute_task_setup
1616from tests .conftest import ROOT
1717from tests .conftest import needs_julia
1818from tests .conftest import parametrize_parse_code_serializer_suffix
1919
2020
21- @pytest .mark .unit ()
21+ @pytest .mark .unit
2222def test_pytask_execute_task_setup_missing_julia (monkeypatch ):
2323 """Make sure that the task setup raises errors."""
2424 # Act like julia is installed since we do not test this.
@@ -37,7 +37,7 @@ def test_pytask_execute_task_setup_missing_julia(monkeypatch):
3737
3838
3939@needs_julia
40- @pytest .mark .end_to_end ()
40+ @pytest .mark .end_to_end
4141@parametrize_parse_code_serializer_suffix
4242@pytest .mark .parametrize ("depends_on" , ["'in_1.txt'" , "['in_1.txt', 'in_2.txt']" ])
4343def test_run_jl_script ( # noqa: PLR0913
@@ -86,7 +86,7 @@ def task_run_jl_script():
8686
8787
8888@needs_julia
89- @pytest .mark .end_to_end ()
89+ @pytest .mark .end_to_end
9090@parametrize_parse_code_serializer_suffix
9191def test_run_jl_script_w_task_decorator (
9292 runner , tmp_path , parse_config_code , serializer , suffix
@@ -123,7 +123,7 @@ def run_jl_script():
123123
124124
125125@needs_julia
126- @pytest .mark .end_to_end ()
126+ @pytest .mark .end_to_end
127127@parametrize_parse_code_serializer_suffix
128128def test_raise_error_if_julia_is_not_found (
129129 tmp_path ,
@@ -169,7 +169,7 @@ def task_run_jl_script():
169169
170170
171171@needs_julia
172- @pytest .mark .end_to_end ()
172+ @pytest .mark .end_to_end
173173@parametrize_parse_code_serializer_suffix
174174def test_run_jl_script_w_wrong_cmd_option (
175175 runner ,
@@ -208,7 +208,7 @@ def task_run_jl_script():
208208
209209
210210@needs_julia
211- @pytest .mark .end_to_end ()
211+ @pytest .mark .end_to_end
212212@pytest .mark .parametrize ("n_threads" , [2 , 3 ])
213213@parametrize_parse_code_serializer_suffix
214214def test_check_passing_cmd_line_options ( # noqa: PLR0913
@@ -249,7 +249,7 @@ def task_run_jl_script():
249249
250250
251251@needs_julia
252- @pytest .mark .end_to_end ()
252+ @pytest .mark .end_to_end
253253@pytest .mark .xfail (
254254 condition = sys .platform == "win32" and os .environ .get ("CI" ) == "true" ,
255255 reason = "Test folder and repo are on different drives causing relpath to fail." ,
@@ -303,7 +303,7 @@ def task_run_jl_script():
303303
304304
305305@needs_julia
306- @pytest .mark .end_to_end ()
306+ @pytest .mark .end_to_end
307307@pytest .mark .xfail (
308308 condition = sys .platform == "win32" and os .environ .get ("CI" ) == "true" ,
309309 reason = "Test folder and repo are on different drives causing relpath to fail." ,
@@ -349,7 +349,7 @@ def task_run_jl_script():
349349
350350
351351@needs_julia
352- @pytest .mark .end_to_end ()
352+ @pytest .mark .end_to_end
353353def test_run_jl_script_w_custom_serializer (runner , tmp_path ):
354354 task_source = f"""
355355 import pytask
@@ -382,7 +382,7 @@ def task_run_jl_script():
382382
383383
384384@needs_julia
385- @pytest .mark .end_to_end ()
385+ @pytest .mark .end_to_end
386386def test_run_jl_script_fails_w_multiple_markers (runner , tmp_path ):
387387 task_source = """
388388 import pytask
0 commit comments