depot/third_party/nixpkgs/pkgs/development/python-modules/imageio/libgl-path.patch
Default email bb584b27e9 Project import generated by Copybara.
GitOrigin-RevId: 5181d5945eda382ff6a9ca3e072ed6ea9b547fee
2022-04-15 03:41:22 +02:00

13 lines
428 B
Diff

diff --git a/tests/test_core.py b/tests/test_core.py
index 2cdbb3a..032974c 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -129,7 +129,7 @@ def test_findlib2():
open(os.path.join(fi_dir, "notalib.test.so"), "wb")
# Loading libs
- gllib = ctypes.util.find_library("GL")
+ gllib = "@libgl@"
core.load_lib([gllib], [])
# Fail
raises(ValueError, core.load_lib, [], []) # Nothing given