1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fixed the test results, indenting behaviour changed slightly Daniel

* python/tests/serialize.py: fixed the test results, indenting
  behaviour changed slightly
Daniel
This commit is contained in:
Daniel Veillard
2002-08-12 12:13:01 +00:00
parent 9e95176128
commit 5f91b37818
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Mon Aug 12 14:11:59 CEST 2002 Daniel Veillard <daniel@veillard.com>
* python/tests/serialize.py: fixed the test results, indenting
behaviour changed slightly
Thu Aug 8 11:00:26 2002 Aleksey Sanin <aleksey@aleksey.com> Thu Aug 8 11:00:26 2002 Aleksey Sanin <aleksey@aleksey.com>
* win32/dsp/libxml2.def.src win32/libxml2.def.src: added * win32/dsp/libxml2.def.src win32/libxml2.def.src: added

View File

@ -24,7 +24,7 @@ if str != """<?xml version="1.0" encoding="iso-8859-1"?>
str = doc.serialize(format=1) str = doc.serialize(format=1)
if str != """<?xml version="1.0"?> if str != """<?xml version="1.0"?>
<root> <root>
<foo>hello</foo> <foo>hello</foo>
</root> </root>
""": """:
print "error serializing XML document 3" print "error serializing XML document 3"
@ -32,7 +32,7 @@ if str != """<?xml version="1.0"?>
str = doc.serialize("iso-8859-1", 1) str = doc.serialize("iso-8859-1", 1)
if str != """<?xml version="1.0" encoding="iso-8859-1"?> if str != """<?xml version="1.0" encoding="iso-8859-1"?>
<root> <root>
<foo>hello</foo> <foo>hello</foo>
</root> </root>
""": """:
print "error serializing XML document 4" print "error serializing XML document 4"
@ -52,13 +52,13 @@ if str != """<root><foo>hello</foo></root>""":
sys.exit(1) sys.exit(1)
str = root.serialize(format=1) str = root.serialize(format=1)
if str != """<root> if str != """<root>
<foo>hello</foo> <foo>hello</foo>
</root>""": </root>""":
print "error serializing XML root 3" print "error serializing XML root 3"
sys.exit(1) sys.exit(1)
str = root.serialize("iso-8859-1", 1) str = root.serialize("iso-8859-1", 1)
if str != """<root> if str != """<root>
<foo>hello</foo> <foo>hello</foo>
</root>""": </root>""":
print "error serializing XML root 4" print "error serializing XML root 4"
sys.exit(1) sys.exit(1)