From 67ccc10f171327cd82f7cc21ea74ce0cda3cbe5e Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Thu, 18 Apr 2024 04:20:00 +0000 Subject: [PATCH] fix: correct try/except statement Otherwise, it fails because Python can't find the `jq` exception. --- tests/test_jq.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_jq.py b/tests/test_jq.py index 16c7ba5..20b3311 100644 --- a/tests/test_jq.py +++ b/tests/test_jq.py @@ -6,7 +6,7 @@ import pytest jq_available = True try: import jq -except jq: +except ImportError: jq_available = False pytestmark = [