Commits

Takayuki Shimizukawa  committed 5da2fee

fix test_linkcode str/bytes incompatibility at py3

  • Participants
  • Parent commits eb3967d

Comments (0)

Files changed (1)

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