-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
Describe the bug
I ran into some testing issues with Ghostscript, which requires some shared objects to be available.
How To Reproduce
Install ghostscript via your system package manager and the python library ghostscript.
class TestGhostscript:
def test_installed(self, fs):
from ctypes.util import find_library
print(find_library("gs")) # expected 'libgs.so.9'
assert find_library("gs") is not Nonethis will fail. Remove fs and test passes.
Is there a workaround for this?
NOTE this fails both locally and running in docker with python:3.9.5-slim-buster
Your environment
Linux-5.4.0-137-generic-x86_64-with-glibc2.31
Python 3.9.5 (default, Aug 3 2022, 11:09:29)
[GCC 9.4.0]
pytest 7.1.0
pyfakefs 4.5.6Metadata
Metadata
Assignees
Labels
No labels