You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:38:27 UTC

[buildstream] 08/11: tests/frontend/workspace.py: Remove a now useless cleanup.

This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch valentindavid/workspacedir_config
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 53667de50bb0d72eafd92d6999595c29b8d3cf83
Author: Valentin David <va...@codethink.co.uk>
AuthorDate: Tue May 1 20:05:17 2018 +0200

    tests/frontend/workspace.py: Remove a now useless cleanup.
---
 tests/frontend/workspace.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py
index e168a61..0f30c9d 100644
--- a/tests/frontend/workspace.py
+++ b/tests/frontend/workspace.py
@@ -143,8 +143,6 @@ def test_open_workspacedir_absolute(cli, tmpdir, datafiles, kind):
 @pytest.mark.parametrize("kind", repo_kinds)
 def test_open_workspacedir_relative(cli, tmpdir, datafiles, kind):
     workspacedir = os.path.join('workspaces')
-    if os.path.isdir(workspacedir):
-        shutil.rmtree(workspacedir)
     user_config = {'workspacedir': workspacedir}
     cli.configure(user_config)
     open_workspace(cli, tmpdir, datafiles, kind, False,