1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 03:55:04 +03:00

python/tests: fix typos

Typos were found with codespell.
This commit is contained in:
Yegor Yefremov 2024-10-15 11:11:38 +02:00
parent f9a6469a47
commit 513949293d
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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()