mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-27 18:50:07 +03:00
python/tests: fix typos
Typos were found with codespell.
This commit is contained in:
parent
f9a6469a47
commit
513949293d
@ -40,7 +40,7 @@ def test(expectedLineNumbersDefault):
|
||||
failed = 1
|
||||
print("FAILED to obtain correct value for " \
|
||||
"lineNumbersDefault in thread %d" % get_ident())
|
||||
# check ther global error handler
|
||||
# check the global error handler
|
||||
# (which is NOT per-thread in the python bindings)
|
||||
try:
|
||||
doc = libxml2.parseFile("bad.xml")
|
||||
|
@ -20,7 +20,7 @@ if root.name != "doc":
|
||||
print("root.name failed")
|
||||
sys.exit(1)
|
||||
if valid != 1:
|
||||
print("validity chec failed")
|
||||
print("validity check failed")
|
||||
sys.exit(1)
|
||||
doc.freeDoc()
|
||||
|
||||
@ -56,7 +56,7 @@ if root.name != "doc":
|
||||
print("root.name failed")
|
||||
sys.exit(1)
|
||||
if valid != 0:
|
||||
print("validity chec failed")
|
||||
print("validity check failed")
|
||||
sys.exit(1)
|
||||
doc.freeDoc()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user