#4143: Icelandic postalcodes, id numbers and phone numbers for localflavor
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component:
django.contrib.localflavor
Version: SVN | Resolution:
Keywords: iceland localflavor | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 1
----------------------------------------+-----------------------------------
Changes (by mtredinnick):
* needs_tests: 1 => 0
Comment:
Regarding the error you're seeing, this is because you're screen is able
to display UTF-8 sstrings, whereas the doctest framework tries to do plain
string comparisons. The fix is to display the repr() of the result so that
the UTF-8 string can be compared byte-for-byte.
I'll look at this patch later tonight and fix up the tests when I commit
it (if there aren't any other obvious problems).
--
Ticket URL: <http://code.djangoproject.com/ticket/4143#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---