summaryrefslogtreecommitdiff
path: root/test/test_commit.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_commit.py')
-rw-r--r--test/test_commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_commit.py b/test/test_commit.py
index 34b91ac7..670068e5 100644
--- a/test/test_commit.py
+++ b/test/test_commit.py
@@ -265,7 +265,7 @@ class TestCommit(TestCommitSerialization):
@with_rw_directory
def test_ambiguous_arg_iteration(self, rw_dir):
rw_repo = Repo.init(osp.join(rw_dir, 'test_ambiguous_arg'))
- path = osp.join(rw_repo.working_tree_dir, 'master')
+ path = osp.join(str(rw_repo.working_tree_dir), 'master')
touch(path)
rw_repo.index.add([path])
rw_repo.index.commit('initial commit')