2525]
2626
2727
28- @pytest .mark .end_to_end
2928@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
3029def test_parallel_execution (tmp_path , parallel_backend ):
3130 source = """
@@ -47,7 +46,6 @@ def task_2(path: Annotated[Path, Product] = Path("out_2.txt")):
4746 assert tmp_path .joinpath ("out_2.txt" ).exists ()
4847
4948
50- @pytest .mark .end_to_end
5149@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
5250def test_parallel_execution_w_cli (runner , tmp_path , parallel_backend ):
5351 source = """
@@ -77,7 +75,6 @@ def task_2(path: Annotated[Path, Product] = Path("out_2.txt")):
7775 assert tmp_path .joinpath ("out_2.txt" ).exists ()
7876
7977
80- @pytest .mark .end_to_end
8178@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
8279def test_stop_execution_when_max_failures_is_reached (tmp_path , parallel_backend ):
8380 source = """
@@ -105,7 +102,6 @@ def task_3(): time.sleep(3)
105102 assert len (session .execution_reports ) == 2
106103
107104
108- @pytest .mark .end_to_end
109105@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
110106def test_task_priorities (tmp_path , parallel_backend ):
111107 source = """
@@ -146,7 +142,6 @@ def task_5():
146142 assert last_task_name .endswith (("task_2" , "task_5" ))
147143
148144
149- @pytest .mark .end_to_end
150145@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
151146@pytest .mark .parametrize ("show_locals" , [True , False ])
152147def test_rendering_of_tracebacks_with_rich (
@@ -172,7 +167,6 @@ def task_raising_error():
172167 assert ("[0, 1, 2, 3, 4]" in result .output ) is show_locals
173168
174169
175- @pytest .mark .end_to_end
176170@pytest .mark .parametrize (
177171 "parallel_backend" ,
178172 # Capturing warnings is not thread-safe.
@@ -207,7 +201,6 @@ def task_example(produces):
207201 assert "task_example.py::task_example[1]" in warnings_block
208202
209203
210- @pytest .mark .unit
211204def test_sleeper ():
212205 sleeper = _Sleeper (timings = [1 , 2 , 3 ], timing_idx = 0 )
213206
@@ -229,7 +222,6 @@ def test_sleeper():
229222 assert 1 <= end - start <= 2
230223
231224
232- @pytest .mark .end_to_end
233225@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
234226def test_task_that_return (runner , tmp_path , parallel_backend ):
235227 source = """
@@ -249,7 +241,6 @@ def task_example() -> Annotated[str, Path("file.txt")]:
249241 )
250242
251243
252- @pytest .mark .end_to_end
253244@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
254245def test_task_without_path_that_return (runner , tmp_path , parallel_backend ):
255246 source = """
@@ -270,7 +261,6 @@ def test_task_without_path_that_return(runner, tmp_path, parallel_backend):
270261 )
271262
272263
273- @pytest .mark .end_to_end
274264@pytest .mark .parametrize ("flag" , ["--pdb" , "--trace" , "--dry-run" ])
275265@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
276266def test_parallel_execution_is_deactivated (runner , tmp_path , flag , parallel_backend ):
@@ -283,7 +273,6 @@ def test_parallel_execution_is_deactivated(runner, tmp_path, flag, parallel_back
283273 assert "Started 2 workers" not in result .output
284274
285275
286- @pytest .mark .end_to_end
287276@pytest .mark .parametrize ("code" , ["breakpoint()" , "import pdb; pdb.set_trace()" ])
288277@pytest .mark .parametrize (
289278 "parallel_backend" ,
@@ -298,7 +287,6 @@ def test_raise_error_on_breakpoint(runner, tmp_path, code, parallel_backend):
298287 assert "You cannot use 'breakpoint()'" in result .output
299288
300289
301- @pytest .mark .end_to_end
302290@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
303291def test_task_partialed (runner , tmp_path , parallel_backend ):
304292 source = """
@@ -321,7 +309,6 @@ def create_text(text):
321309 assert tmp_path .joinpath ("file.txt" ).exists ()
322310
323311
324- @pytest .mark .end_to_end
325312@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
326313def test_execute_tasks_and_pass_values_by_python_node_return (
327314 runner , tmp_path , parallel_backend
@@ -349,7 +336,6 @@ def task_create_file(
349336 assert tmp_path .joinpath ("file.txt" ).read_text () == "This is the text."
350337
351338
352- @pytest .mark .end_to_end
353339@pytest .mark .parametrize ("parallel_backend" , _IMPLEMENTED_BACKENDS )
354340def test_execute_tasks_and_pass_values_by_python_node_product (
355341 runner , tmp_path , parallel_backend
0 commit comments