Commits

Takayuki Shimizukawa committed 5da2fee

fix test_linkcode str/bytes incompatibility at py3

Comments (0)

Files changed (1)

tests/test_linkcode.py

 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: