Ticket #3176: tests.regressiontests.defaultfilters.tests.py.patch
File tests.regressiontests.defaultfilters.tests.py.patch, 676 bytes (added by , 18 years ago) |
---|
-
tests/regressiontests/defaultfilters/tests.py
11 11 '0.0' 12 12 >>> floatformat(0.0) 13 13 '0' 14 >>> floatformat(7.7,3) 15 '7.700' 16 >>> floatformat(6.000000,3) 17 '6.000' 18 >>> floatformat(13.1031,-3) 19 '13.103' 20 >>> floatformat(11.1197, -2) 21 '11.12' 22 >>> floatformat(11.0000, -2) 23 '11' 24 >>> floatformat(11.000001, -2) 25 '11.00' 26 >>> floatformat(8.2798, 3) 27 '8.280' 14 28 15 29 >>> addslashes('"double quotes" and \'single quotes\'') 16 30 '\\"double quotes\\" and \\\'single quotes\\\''