Hey Jakub,

Jakub Wilk [2013-12-20 10:36 +0100]:
> The last line should have probably been:
> 
> self.assertEqual(str(element), u'<Element mark="\u2022"/>')
> [...]
> ...then it would be correctly converted to:
> 
> self.assertEqual(str(element), '<Element mark="\u2022"/>')

Ah, that's even more elegant indeed.

> In the past it worked only by accident, due to a bug:
> http://bugs.python.org/issue18037

Thanks for pointing out the root cause!

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to