fix test_linkcode str/bytes incompatibility at py3

This commit is contained in:
Takayuki Shimizukawa 2012-10-29 13:07:21 +09:00
parent 0c02841412
commit bee7f8bc39

View File

@ -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: