Skip to content

Commit

Permalink
Fixing unicode problem in py2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
trollfot committed Oct 18, 2018
1 parent 818f782 commit 1d3ce92
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/zope/i18n/tests/test_plurals.py
Expand Up @@ -78,27 +78,27 @@ def test_PolishPlurals(self):

self.assertEqual(catalog.getPluralMessage(
'There is one file.', 'There are %d files.', 0),
"Istnieją 0 plików.")
u"Istnieją 0 plików.")

self.assertEqual(catalog.getPluralMessage(
'There is one file.', 'There are %d files.', 1),
"Istnieje 1 plik.")
u"Istnieje 1 plik.")

self.assertEqual(catalog.getPluralMessage(
'There is one file.', 'There are %d files.', 3),
"Istnieją 3 pliki.")
u"Istnieją 3 pliki.")

self.assertEqual(catalog.getPluralMessage(
'There is one file.', 'There are %d files.', 17),
"Istnieją 17 plików.")
u"Istnieją 17 plików.")

self.assertEqual(catalog.getPluralMessage(
'There is one file.', 'There are %d files.', 23),
"Istnieją 23 pliki.")
u"Istnieją 23 pliki.")

self.assertEqual(catalog.getPluralMessage(
'There is one file.', 'There are %d files.', 28),
"Istnieją 28 plików.")
u"Istnieją 28 plików.")

def test_floater(self):
"""Test with the number being a float.
Expand Down

0 comments on commit 1d3ce92

Please sign in to comment.