Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedrichFroebel authored Feb 13, 2024
1 parent 3e7a01c commit 77f2219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/examples/test_djvu2png.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Djvu2PngTestCase(TestCase):
def setUpClass(cls):
if find_spec('numpy') is None:
raise SkipTest('Package numpy not found.')
if find_spec('cairocffi') is None or find_spec('pycairo') is None:
if find_spec('cairocffi') is None and find_spec('pycairo') is None:
raise SkipTest('Cairo bindings not found.')

def check(self, mode: str):
Expand Down

0 comments on commit 77f2219

Please sign in to comment.