diff options
author | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2012-10-29 13:07:21 +0900 |
---|---|---|
committer | Takayuki Shimizukawa <shimizukawa@gmail.com> | 2012-10-29 13:07:21 +0900 |
commit | bee7f8bc39cae4b8d649c0a8b90d3f38ce485bc4 (patch) | |
tree | 49a67363cf190e50fc26eae2cb55704a19198700 | |
parent | 0c02841412f8c0efe871853f192252e58e23680d (diff) | |
download | sphinx-git-bee7f8bc39cae4b8d649c0a8b90d3f38ce485bc4.tar.gz |
fix test_linkcode str/bytes incompatibility at py3
-rw-r--r-- | tests/test_linkcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_linkcode.py b/tests/test_linkcode.py index b4b333328..365e826f5 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: |