summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2012-10-29 13:07:21 +0900
committershimizukawa <shimizukawa@gmail.com>2012-10-29 13:07:21 +0900
commit1451ccfb757afcb54f90559d04b0c92cbc60552e (patch)
tree49a67363cf190e50fc26eae2cb55704a19198700
parent11e674c95e351b3409aa3f01b877c18d3976440d (diff)
downloadsphinx-1451ccfb757afcb54f90559d04b0c92cbc60552e.tar.gz
fix test_linkcode str/bytes incompatibility at py3
-rw-r--r--tests/test_linkcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_linkcode.py b/tests/test_linkcode.py
index b4b33332..365e826f 100644
--- a/tests/test_linkcode.py
+++ b/tests/test_linkcode.py
@@ -16,7 +16,7 @@ from util import *
def test_html(app):
app.builder.build_all()
- fp = open(os.path.join(app.outdir, 'objects.html'), 'rb')
+ fp = open(os.path.join(app.outdir, 'objects.html'), 'r')
try:
stuff = fp.read()
finally: