mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-15 20:59:32 +03:00
Fix python bindings with versions older than 2.7
Need fixing on the Capsule usage, the lack of PyBytes, lack of io module and the way to access exception details.
This commit is contained in:
@ -133,7 +133,7 @@ run_test(desc="Loading using standard i/o after unregistering callback",
|
||||
try:
|
||||
while True:
|
||||
libxml2.popInputCallbacks()
|
||||
except IndexError as e:
|
||||
except IndexError:
|
||||
pass
|
||||
|
||||
run_test(desc="Loading using standard i/o after unregistering all callbacks",
|
||||
|
Reference in New Issue
Block a user