parent
5836a5771f
commit
1a01e24331
|
@ -654,6 +654,9 @@ class DefaultFiltersTests(TestCase):
|
||||||
self.assertEqual(pluralize(1), '')
|
self.assertEqual(pluralize(1), '')
|
||||||
self.assertEqual(pluralize(0), 's')
|
self.assertEqual(pluralize(0), 's')
|
||||||
self.assertEqual(pluralize(2), '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([1]), '')
|
||||||
self.assertEqual(pluralize([]), 's')
|
self.assertEqual(pluralize([]), 's')
|
||||||
self.assertEqual(pluralize([1, 2, 3]), 's')
|
self.assertEqual(pluralize([1, 2, 3]), 's')
|
||||||
|
|
Loading…
Reference in New Issue