summaryrefslogtreecommitdiff
path: root/tests/path.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2017-01-03 22:24:00 +0900
committershimizukawa <shimizukawa@gmail.com>2017-01-04 00:59:30 +0900
commit5b7d237db380a75c27137fb37f0396f4a3dc3ecd (patch)
treef309a2fd9356e185d55b4937afb515c394066f35 /tests/path.py
parent54c8c012228559c3bf30011977984a60a9299e9b (diff)
downloadsphinx-git-5b7d237db380a75c27137fb37f0396f4a3dc3ecd.tar.gz
pytest migration
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 ef1f35004..0d6892776 100755
--- a/tests/path.py
+++ b/tests/path.py
@@ -145,7 +145,7 @@ class path(text_type):
mode = 'rU' if PY2 else 'r'
with open(self, mode=mode, encoding=encoding, **kwargs) as f:
text = f.read()
- contents = repr_as(text, '<%s contents>' % self.basename())
+ contents = repr_as(text, '<%s contents: %r>' % (self.basename(), text))
return contents
def bytes(self):