Commits

Takayuki Shimizukawa committed 5d0d96c

fix test_seealso failed with python3

  • Participants
  • Parent commits d7dc29f

Comments (0)

Files changed (1)

tests/test_build_gettext.py

 def test_seealso(app):
     # regression test for issue #960
     app.builder.build(['markup'])
-    catalog = (app.outdir / 'markup.pot').text()
+    catalog = (app.outdir / 'markup.pot').text(encoding='utf-8')
     assert 'msgid "something, something else, something more"' in catalog