Ticket #11206: 11206-floatformat-r10837.diff
File 11206-floatformat-r10837.diff, 778 bytes (added by , 15 years ago) |
---|
-
tests/regressiontests/defaultfilters/tests.py
569 569 """ 570 570 571 571 from django.template.defaultfilters import * 572 from django.test import TestCase 572 573 import datetime 573 574 574 575 # Python 2.3 doesn't have sorted() … … 577 578 except NameError: 578 579 from django.utils.itercompat import sorted 579 580 581 class DefaultFilterTests(TestCase): 582 def test_11206(self): 583 """ 584 Regression test for http://code.djangoproject.com/ticket/11206 585 """ 586 self.failUnlessEqual(floatformat(0.0, 7), u'0.0000000') 587 580 588 if __name__ == '__main__': 581 589 import doctest 582 590 doctest.testmod()