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:
@ -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
|
||||||
|
@ -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)
|
||||||
|
Reference in New Issue
Block a user