diff options
Diffstat (limited to 'bindings/python/tests/cindex/test_location.py')
| -rw-r--r-- | bindings/python/tests/cindex/test_location.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bindings/python/tests/cindex/test_location.py b/bindings/python/tests/cindex/test_location.py index cbc32deb4bd5..fbe9770d7ebc 100644 --- a/bindings/python/tests/cindex/test_location.py +++ b/bindings/python/tests/cindex/test_location.py @@ -1,3 +1,8 @@ +import os +from clang.cindex import Config +if 'CLANG_LIBRARY_PATH' in os.environ: + Config.set_library_path(os.environ['CLANG_LIBRARY_PATH']) + from clang.cindex import Cursor from clang.cindex import File from clang.cindex import SourceLocation |
