mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fixed gettext module for Windows. The metadata lines always end in \n and not in os.linesep
This commit is contained in:
parent
c6ecfcd876
commit
6ae5d7f2a1
2 changed files with 2 additions and 1 deletions
|
@ -332,6 +332,7 @@ class WeirdMetadataTest(GettextBaseTest):
|
|||
|
||||
def test_weird_metadata(self):
|
||||
info = self.t.info()
|
||||
self.assertEqual(len(info), 9)
|
||||
self.assertEqual(info['last-translator'],
|
||||
'John Doe <jdoe@example.com>\nJane Foobar <jfoobar@example.com>')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue