Mercurial > babel > mirror
diff babel/tests/support.py @ 599:33c8c68b96c7 trunk
change constructor for babel.support.Translations to __init__(fp=None, domain=None) as its super class gettext.GNUTranslations uses "fp" as well (even if "fileobj" is a better name)
author | fschwarz |
---|---|
date | Mon, 20 Aug 2012 19:34:42 +0000 |
parents | 838ba3796ad6 |
children | 60f716236946 |
line wrap: on
line diff
--- a/babel/tests/support.py +++ b/babel/tests/support.py @@ -170,7 +170,7 @@ fp = StringIO() write_mo(fp, Catalog(locale='de')) fp.seek(0) - self.translations = support.Translations(fileobj=fp) + self.translations = support.Translations(fp=fp) self.null_translations = support.NullTranslations(fp=fp) def method_names(self):