🐛 Open our test result with UTF-8 encoding (for Python 3.6?)

fix/readme-no-checkpoint
Gerber, Mike 5 years ago
parent 010391b09b
commit e1f57b2638

@ -45,7 +45,7 @@ class TestCalamariRecognize(TestCase):
page1 = os.path.join(workspace.directory, 'OCR-D-OCR-CALAMARI/OCR-D-OCR-CALAMARI_0001.xml')
self.assertTrue(os.path.exists(page1))
with open(page1, 'r') as f:
with open(page1, 'r', encoding='utf-8') as f:
self.assertIn('verſchuldeten', f.read())
if __name__ == '__main__':

Loading…
Cancel
Save