diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/messages/data/project/file1.py | 2 | ||||
-rw-r--r-- | tests/messages/data/project/file2.py | 2 | ||||
-rw-r--r-- | tests/messages/data/project/ignored/this_wont_normally_be_here.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/messages/data/project/file1.py b/tests/messages/data/project/file1.py index 80ad00c..460d941 100644 --- a/tests/messages/data/project/file1.py +++ b/tests/messages/data/project/file1.py @@ -5,4 +5,4 @@ from gettext import gettext as _ 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 9991ea8..b621493 100644 --- a/tests/messages/data/project/file2.py +++ b/tests/messages/data/project/file2.py @@ -6,4 +6,4 @@ from gettext import ngettext 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 b96f542..8ca4991 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 @@ from gettext import ngettext 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)) |