We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff4d95 commit 9deaa3fCopy full SHA for 9deaa3f
clang/bindings/python/tests/cindex/test_environment_variable.py
@@ -49,7 +49,10 @@ def test_working_libclang_library_path(self):
49
reset_import_and_get_frech_config().lib
50
51
@unittest.mock.patch.dict("os.environ", {"LIBCLANG_LIBRARY_PATH": "not_a_real_dir"})
52
- def _test_non_working_libclang_library_path(self):
+ def test_non_working_libclang_library_path(self):
53
+ # Remove LIBCLANG_LIBRARY_FILE to avoid it taking precedence if set by the user
54
+ os.environ.pop("LIBCLANG_LIBRARY_FILE", None)
55
+
56
config = reset_import_and_get_frech_config()
57
import clang.cindex
58
0 commit comments