diff --git a/CHANGES.md b/CHANGES.md index 6dcdad2..5b92650 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,6 +10,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask-julia) and - {pull}`31` uses pixi to provision Julia if possible. - {pull}`32` uses trusted publishing for PyPI. - {pull}`33` uses uuid4 to generate more robust file names for serialized arguments. +- {pull}`36` updates tests for pytask v0.5. ## 0.4.0 - 2023-10-08 diff --git a/tests/test_normal_execution_w_plugin.py b/tests/test_normal_execution_w_plugin.py index 3c8813f..1d71ade 100644 --- a/tests/test_normal_execution_w_plugin.py +++ b/tests/test_normal_execution_w_plugin.py @@ -22,9 +22,10 @@ def test_execution_w_varying_dependencies_products( import pytask from pathlib import Path - @pytask.mark.depends_on({dependencies}) - @pytask.mark.produces({products}) - def task_dummy(depends_on, produces): + def task_dummy( + depends_on=[Path(p) for p in {dependencies}], + produces=[Path(p) for p in {products}], + ): if isinstance(produces, dict): produces = produces.values() elif isinstance(produces, Path):