From 81abf2e412b8f5847d7722e15eddd058f13ed82d Mon Sep 17 00:00:00 2001 From: skshetry Date: Sat, 1 Oct 2022 14:07:38 +0545 Subject: [PATCH] dvcfs tests: copy pytest param instead of in-place update (#8388) The param was being modified in-place, due to which successive runs would fail. --- dvc/testing/api_tests.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dvc/testing/api_tests.py b/dvc/testing/api_tests.py index 3c04f63e1..e7d5161f8 100644 --- a/dvc/testing/api_tests.py +++ b/dvc/testing/api_tests.py @@ -47,6 +47,8 @@ class TestAPI: fs_kwargs, clear_cache, ): + fs_kwargs = fs_kwargs.copy() + tmp_dir.scm_gen({"scripts": {"script1": "script1"}}, commit="scripts") tmp_dir.dvc_gen({"data": {"foo": "foo", "bar": "bar"}}, commit="data") dvc.push()