[1.5.x] Fixed #18964 -- floatformat test passes under py3k
[1.5.x] Fixed #18964 -- floatformat test passes under py3k

Thanks Russell for the report.

Backport of b4420d9 from master.

alx-eu/django,bliti/django-nonrel-1.5,alx-eu/django,bliti/django-nonrel-1.5,ccn-2m/django,ccn-2m/django,imtapps/django-imt-fork,alx-eu/django,ccn-2m/django,hasadna/django,hasadna/django,alx-eu/django,ccn-2m/django,hasadna/django,imtapps/django-imt-fork,bliti/django-nonrel-1.5,imtapps/django-imt-fork