mirror of
https://github.com/django/django.git
synced 2025-01-24 00:59:20 +00:00
parent
5836a5771f
commit
1a01e24331
@ -654,6 +654,9 @@ class DefaultFiltersTests(TestCase):
|
||||
self.assertEqual(pluralize(1), '')
|
||||
self.assertEqual(pluralize(0), 's')
|
||||
self.assertEqual(pluralize(2), 's')
|
||||
self.assertEqual(pluralize(decimal.Decimal(1)), '')
|
||||
self.assertEqual(pluralize(decimal.Decimal(0)), 's')
|
||||
self.assertEqual(pluralize(decimal.Decimal(2)), 's')
|
||||
self.assertEqual(pluralize([1]), '')
|
||||
self.assertEqual(pluralize([]), 's')
|
||||
self.assertEqual(pluralize([1, 2, 3]), 's')
|
||||
|
Loading…
x
Reference in New Issue
Block a user