Skip to content

Commit

Permalink
tests/test_pixmap.py:test_3493(): fix handling of some gi installat…
Browse files Browse the repository at this point in the history
…ions.

It looks like `import gi` can succeed but `from gi.repository import GdkPixbuf`
fail.
  • Loading branch information
julian-smith-artifex-com committed Jun 4, 2024
1 parent 66b9c65 commit 75b00d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_pixmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ def run_code(code, code_path, *, check=True, venv=None, venv_args='', pythonpath
# Find location of system install of `gi`.
r = run_code(
'''
from gi.repository import GdkPixbuf
import gi
print(gi.__file__)
'''
Expand Down

0 comments on commit 75b00d8

Please sign in to comment.