Пример #1
0
    def test_pluralize(self):
        eq_(pluralize(1), '')
        eq_(pluralize(0), 's')
        eq_(pluralize(2), 's')

        eq_(pluralize(1, 'ies'), '')
        eq_(pluralize(0, 'ies'), 'ies')
        eq_(pluralize(2, 'ies'), 'ies')
Пример #2
0
    def test_pluralize(self):
        eq_(pluralize(1), '')
        eq_(pluralize(0), 's')
        eq_(pluralize(2), 's')

        eq_(pluralize(1, 'ies'), '')
        eq_(pluralize(0, 'ies'), 'ies')
        eq_(pluralize(2, 'ies'), 'ies')