On Dec 7, 5:14 am, "Joe & Anne Tennies" <[email protected]> wrote: > So, I hg pull; hg update and reran the Python3 tests. The Egg import test > passes now. > > The attached patch fix makes the last 2 tests pass in both 2.7.2 and 3.2.1 > under postgres and sqlite. I'll be honest and say I don't know why, so > please figure out why and explain it to me. I think it's because psycopg2 > won't run upper on something that's not a unicode in python 3, but it needs > to be a bytestring later to have the "buffer interface" implemented.
I think that part about "upper" is probably right - it doesn't make sense to run "upper" on anything other than text. Part of it is just bugs in my conversion - if you look at some of the other test methods in the same test case, it appears that I applied b() in some places when I shouldn't have. Regards, Vinay Sajip -- You received this message because you are subscribed to the Google Groups "Django developers" 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-developers?hl=en.
