1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-17 18:21:05 +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

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