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:28 UTC

[buildstream] 09/11: tests/frontend/workspace.py: Fix compatibility with older Python

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 3b992050354e4e97c6d8860e24fe2870f801a813
Author: Valentin David <va...@codethink.co.uk>
AuthorDate: Tue May 1 20:06:47 2018 +0200

    tests/frontend/workspace.py: Fix compatibility with older Python
---
 tests/frontend/workspace.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/frontend/workspace.py b/tests/frontend/workspace.py
index 0f30c9d..eedcf47 100644
--- a/tests/frontend/workspace.py
+++ b/tests/frontend/workspace.py
@@ -132,7 +132,7 @@ def test_open_force(cli, tmpdir, datafiles, kind):
 @pytest.mark.datafiles(DATA_DIR)
 @pytest.mark.parametrize("kind", repo_kinds)
 def test_open_workspacedir_absolute(cli, tmpdir, datafiles, kind):
-    workspacedir = os.path.join(tmpdir, 'workspaces')
+    workspacedir = os.path.join(str(tmpdir), 'workspaces')
     user_config = {'workspacedir': workspacedir}
     cli.configure(user_config)
     open_workspace(cli, tmpdir, datafiles, kind, False,