summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_gettext.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-10-31 18:53:44 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-10-31 18:53:44 (GMT)
commit6ae5d7f2a132aa9690bfb59b8eebcc1fb7c792c8 (patch)
treeb27a35bd1f0e6d0129d674e0d9e0601d6177565f /Lib/test/test_gettext.py
parentc6ecfcd87655da599c8662e457f5e7a3c5408c9a (diff)
downloadcpython-6ae5d7f2a132aa9690bfb59b8eebcc1fb7c792c8.zip
cpython-6ae5d7f2a132aa9690bfb59b8eebcc1fb7c792c8.tar.gz
cpython-6ae5d7f2a132aa9690bfb59b8eebcc1fb7c792c8.tar.bz2
Fixed gettext module for Windows. The metadata lines always end in \n and not in os.linesep
Diffstat (limited to 'Lib/test/test_gettext.py')
-rw-r--r--Lib/test/test_gettext.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py
index a32fa27..12a657c 100644
--- a/Lib/test/test_gettext.py
+++ b/Lib/test/test_gettext.py
@@ -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>')