1
Description: Since Python 3.3.3, 2to3 changes our already existing Python3 specific test for the "dot" (•) symbol to a double-slash like in the Python 2 version, breaking the test. Use the actual Unicode symbol to prevent 2to3 from doing that, instead of \u2022.
2
Author: Martin Pitt <martin.pitt@ubuntu.com>
3
Bug-Debian: http://bugs.debian.org/732679
5
Index: python-docutils-0.11/test/test_nodes.py
6
===================================================================
7
--- python-docutils-0.11.orig/test/test_nodes.py 2013-12-20 10:18:46.558264159 +0100
8
+++ python-docutils-0.11/test/test_nodes.py 2013-12-20 10:23:56.834258030 +0100
10
if sys.version_info < (3,):
11
self.assertEqual(str(element), '<Element mark="\\u2022"/>')
13
- self.assertEqual(str(element), '<Element mark="\u2022"/>')
14
+ self.assertEqual(str(element), '<Element mark="•"/>')
16
self.assertEqual(dom.toxml(), u'<Element mark="\u2022"/>')