Author: kmtracey
Date: 2010-01-09 15:03:25 -0600 (Sat, 09 Jan 2010)
New Revision: 12145

Modified:
   django/branches/releases/1.1.X/
   django/branches/releases/1.1.X/tests/regressiontests/i18n/misc.py
Log:
[1.1.X] Changed an i18n test to use a number that converts consistely from 
string to float on Pythons up to 2.7. 

r12144 from trunk, backported to the doctest version where the change is needed 
for the test to pass on Python 2.7 alpha 2.



Property changes on: django/branches/releases/1.1.X
___________________________________________________________________
Name: svnmerge-integrated
   - 
/django/trunk:1-11500,11523,11527-11528,11531-11552,11554,11577,11579-11581,11588-11589,11591-11592,11596-11599,11601-11617,11619-11626,11628-11635,11637-11638,11643-11644,11648-11653,11656,11670,11678,11681,11684,11686,11688,11691,11693,11695,11697,11699,11701,11703,11705,11707,11714,11719,11732,11734,11740,11748,11751,11753,11756,11760,11800,11802,11808,11815,11817,11820,11822,11824,11826,11828,11831,11833,11835,11837,11839,11841,11844,11857,11864,11874,11876,11878,11885,11898,11901,11905,11909,11912,11914,11917,11938,11961,12011,12086,12104,12132
   + 
/django/trunk:1-11500,11523,11527-11528,11531-11552,11554,11577,11579-11581,11588-11589,11591-11592,11596-11599,11601-11617,11619-11626,11628-11635,11637-11638,11643-11644,11648-11653,11656,11670,11678,11681,11684,11686,11688,11691,11693,11695,11697,11699,11701,11703,11705,11707,11714,11719,11732,11734,11740,11748,11751,11753,11756,11760,11800,11802,11808,11815,11817,11820,11822,11824,11826,11828,11831,11833,11835,11837,11839,11841,11844,11857,11864,11874,11876,11878,11885,11898,11901,11905,11909,11912,11914,11917,11938,11961,12011,12086,12104,12132,12144


Modified: django/branches/releases/1.1.X/tests/regressiontests/i18n/misc.py
===================================================================
--- django/branches/releases/1.1.X/tests/regressiontests/i18n/misc.py   
2010-01-09 20:57:32 UTC (rev 12144)
+++ django/branches/releases/1.1.X/tests/regressiontests/i18n/misc.py   
2010-01-09 21:03:25 UTC (rev 12145)
@@ -18,8 +18,8 @@
 [('*', 1.0)]
 >>> p('en-AU;q=0.123')
 [('en-AU', 0.123)]
->>> p('en-au;q=0.1')
-[('en-au', 0.10000000000000001)]
+>>> p('en-au;q=0.5')
+[('en-au', 0.5)]
 >>> p('en-au;q=1.0')
 [('en-au', 1.0)]
 >>> p('da, en-gb;q=0.25, en;q=0.5')

-- 
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.


Reply via email to