diff --git a/babel/core.py b/babel/core.py index 6df585083..4cceba933 100644 --- a/babel/core.py +++ b/babel/core.py @@ -29,6 +29,7 @@ "currency_fractions", "language_aliases", "likely_subtags", + "meta_zones", "parent_exceptions", "script_aliases", "territory_aliases", diff --git a/tests/messages/data/project/file1.py b/tests/messages/data/project/file1.py index 80ad00c66..460d94152 100644 --- a/tests/messages/data/project/file1.py +++ b/tests/messages/data/project/file1.py @@ -5,4 +5,4 @@ def foo(): # TRANSLATOR: This will be a translator coment, # that will include several lines - print _('bar') + print(_('bar')) diff --git a/tests/messages/data/project/file2.py b/tests/messages/data/project/file2.py index 9991ea89e..b6214932e 100644 --- a/tests/messages/data/project/file2.py +++ b/tests/messages/data/project/file2.py @@ -6,4 +6,4 @@ def foo(): # Note: This will have the TRANSLATOR: tag but shouldn't # be included on the extracted stuff - print ngettext('foobar', 'foobars', 1) + print(ngettext('foobar', 'foobars', 1)) diff --git a/tests/messages/data/project/ignored/this_wont_normally_be_here.py b/tests/messages/data/project/ignored/this_wont_normally_be_here.py index b96f54260..8ca499157 100644 --- a/tests/messages/data/project/ignored/this_wont_normally_be_here.py +++ b/tests/messages/data/project/ignored/this_wont_normally_be_here.py @@ -8,4 +8,4 @@ def foo(): # Note: This will have the TRANSLATOR: tag but shouldn't # be included on the extracted stuff - print ngettext('FooBar', 'FooBars', 1) + print(ngettext('FooBar', 'FooBars', 1))