lilydjwg / nvchecker

New version checker for software releases
MIT License
428 stars 69 forks source link

fix: correct try/except statement #264

Closed marsam closed 6 months ago

marsam commented 6 months ago

Otherwise, it fails because Python can't find the jq exception.

==================================== ERRORS ====================================
______________________ ERROR collecting tests/test_jq.py _______________________
tests/test_jq.py:8: in <module>
    import jq
E   ModuleNotFoundError: No module named 'jq'

During handling of the above exception, another exception occurred:
tests/test_jq.py:9: in <module>
    except jq:
E   NameError: name 'jq' is not defined
lilydjwg commented 6 months ago

Thanks!