commit | 410d04255a204d180650eaf86890e1b389a36dbc | [log] [tgz] |
---|---|---|
author | Konstantinos Koukopoulos <koukopoulos@gmail.com> | Thu Jan 30 20:15:25 2014 +0200 |
committer | Konstantinos Koukopoulos <koukopoulos@gmail.com> | Thu Jan 30 20:15:25 2014 +0200 |
tree | 06dc9ded93b19061f6e546f97588f9c371321edf | |
parent | c8b13eae2416e92118b1d1245ece09fc574e2046 [diff] [blame] |
allow tests to run even without execinfo.h
diff --git a/OpenSSL/test/util.py b/OpenSSL/test/util.py index 011e7da..4e4d812 100644 --- a/OpenSSL/test/util.py +++ b/OpenSSL/test/util.py
@@ -17,7 +17,11 @@ from OpenSSL._util import exception_from_error_queue from OpenSSL.crypto import Error -import memdbg +try: + import memdbg +except Exception: + class _memdbg(object): heap = None + memdbg = _memdbg() from OpenSSL._util import ffi, lib, byte_string as b