diff --git a/python/tests/tstmem.py b/python/tests/tstmem.py index 6b34cf38..4e339912 100755 --- a/python/tests/tstmem.py +++ b/python/tests/tstmem.py @@ -1,6 +1,11 @@ #!/usr/bin/python -u import libxml2 -import libxml2mod + +try: + import libxml2mod +except ModuleNotFoundError: + from libxmlmods import libxml2mod + import sys def error(msg, data):