summaryrefslogtreecommitdiff
path: root/tests/path.py
diff options
context:
space:
mode:
authorTakayuki Shimizukawa <shimizukawa@gmail.com>2014-04-30 23:25:44 +0900
committerTakayuki Shimizukawa <shimizukawa@gmail.com>2014-04-30 23:25:44 +0900
commit2d1549b35a4adea66aebd0b7d9266731dd7ece6f (patch)
tree7f82f3e5a85f1946276416a44272b6860c355d4a /tests/path.py
parent6ae3b68859562f07a1a7e215a7b55dce800305a9 (diff)
downloadsphinx-git-2d1549b35a4adea66aebd0b7d9266731dd7ece6f.tar.gz
wrap py3 iterators with list() for each places that expect a list object. refs #1350.
Diffstat (limited to 'tests/path.py')
-rwxr-xr-xtests/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/path.py b/tests/path.py
index 2a4affe77..1b703afab 100755
--- a/tests/path.py
+++ b/tests/path.py
@@ -190,7 +190,7 @@ class path(text_type):
"""
Joins the path with the argument given and returns the result.
"""
- return self.__class__(os.path.join(self, *map(self.__class__, args)))
+ return self.__class__(os.path.join(self, *list(map(self.__class__, args))))
__div__ = __truediv__ = joinpath