fix: correct try/except statement

Otherwise, it fails because Python can't find the `jq` exception.
This commit is contained in:
Mario Rodas 2024-04-18 04:20:00 +00:00
parent 2f6f803c1a
commit 67ccc10f17

View file

@ -6,7 +6,7 @@ import pytest
jq_available = True jq_available = True
try: try:
import jq import jq
except jq: except ImportError:
jq_available = False jq_available = False
pytestmark = [ pytestmark = [