Skip to content
This repository was archived by the owner on Dec 26, 2025. It is now read-only.

Commit be54b5b

Browse files
committed
Fixed test case for latin1 file
1 parent 52cfa8f commit be54b5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_loadadi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_80_utf8file(self):
117117
self.assertEqual('Jörg', adi_dict['RECORDS'][4]['NAME'])
118118

119119
def test_81_latin1file(self):
120-
adi_dict = adif_file.adi.load(get_file_path('testdata/latin1file.txt'))
120+
adi_dict = adif_file.adi.load(get_file_path('testdata/latin1file.txt'), encoding='latin1')
121121

122122
self.assertIn('HEADER', adi_dict)
123123
self.assertIn('RECORDS', adi_dict)

0 commit comments

Comments
 (0)