From bee7f8bc39cae4b8d649c0a8b90d3f38ce485bc4 Mon Sep 17 00:00:00 2001 From: Takayuki Shimizukawa Date: Mon, 29 Oct 2012 13:07:21 +0900 Subject: [PATCH] fix test_linkcode str/bytes incompatibility at py3 --- tests/test_linkcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: