diff options
Diffstat (limited to 'tests/sources/generic/workspace.py')
-rw-r--r-- | tests/sources/generic/workspace.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sources/generic/workspace.py b/tests/sources/generic/workspace.py index 552981a4f..ad115c1ba 100644 --- a/tests/sources/generic/workspace.py +++ b/tests/sources/generic/workspace.py @@ -40,9 +40,9 @@ class WorkspaceCreator(): self.datafiles = datafiles if not project_path: - project_path = os.path.join(datafiles.dirname, datafiles.basename) + project_path = str(datafiles) else: - shutil.copytree(os.path.join(datafiles.dirname, datafiles.basename), project_path) + shutil.copytree(str(datafiles), project_path) self.project_path = project_path self.bin_files_path = os.path.join(project_path, 'files', 'bin-files') |