mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix: correct try/except statement
Otherwise, it fails because Python can't find the `jq` exception.
This commit is contained in:
parent
2f6f803c1a
commit
67ccc10f17
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ import pytest
|
|||
jq_available = True
|
||||
try:
|
||||
import jq
|
||||
except jq:
|
||||
except ImportError:
|
||||
jq_available = False
|
||||
|
||||
pytestmark = [
|
||||
|
|
Loading…
Add table
Reference in a new issue