1. Daniel Neuhäuser
  2. sphinx-vala-domain

Commits

DasIch  committed cdeb350

Fix test which was broken to change in the path object api

  • Participants
  • Parent commits 0e28d56
  • Branches default

Comments (0)

Files changed (1)

File tests/test_build_gettext.py

View file
         confoverrides={'language': 'xx', 'locale_dirs': ['.']})
 def test_patch(app):
     app.builder.build(['bom'])
-    result = (app.outdir / 'bom.txt').text('utf-8')
+    result = (app.outdir / 'bom.txt').text(encoding='utf-8')
     expect = (u"\nDatei mit UTF-8"
               u"\n***************\n" # underline matches new translation
               u"\nThis file has umlauts: äöü.\n")