diff options
| author | scoder <none@none> | 2006-05-20 19:01:11 +0200 |
|---|---|---|
| committer | scoder <none@none> | 2006-05-20 19:01:11 +0200 |
| commit | ce5c796793976f6f0128f013eb2d5fada7c9d203 (patch) | |
| tree | 6400b69673eef3215cfab8e2e1888fd6af4519ad /src/lxml/tests/test_unicode.py | |
| parent | dacc758af2840b4a2319d40cb35967fec5127937 (diff) | |
| download | python-lxml-ce5c796793976f6f0128f013eb2d5fada7c9d203.tar.gz | |
[svn r1257] implemented setting text of comments, make whitespace handling around comment texts consistent in lxml (not ET compatible on serialization!)
--HG--
branch : trunk
Diffstat (limited to 'src/lxml/tests/test_unicode.py')
| -rw-r--r-- | src/lxml/tests/test_unicode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxml/tests/test_unicode.py b/src/lxml/tests/test_unicode.py index 63ddc5de..a8fbdbf3 100644 --- a/src/lxml/tests/test_unicode.py +++ b/src/lxml/tests/test_unicode.py @@ -35,7 +35,7 @@ class UnicodeTestCase(unittest.TestCase): def test_unicode_comment(self): el = etree.Comment(uni) - self.assertEquals(' %s ' % uni, el.text) + self.assertEquals(uni, el.text) def test_unicode_parse_stringio(self): el = etree.parse(StringIO(u'<p>%s</p>' % uni)).getroot() |
