Bump dependencies
This commit is contained in:
@@ -467,4 +467,4 @@ known-third-party=enchant
|
|||||||
|
|
||||||
# Exceptions that will emit a warning when being caught. Defaults to
|
# Exceptions that will emit a warning when being caught. Defaults to
|
||||||
# "Exception"
|
# "Exception"
|
||||||
overgeneral-exceptions=Exception
|
overgeneral-exceptions=builtins.Exception
|
||||||
|
|||||||
@@ -39,6 +39,5 @@ def test_retrieval(canteen):
|
|||||||
try:
|
try:
|
||||||
with app.app_context(), app.test_request_context():
|
with app.app_context(), app.test_request_context():
|
||||||
canteen_xml_feed(canteen.key)
|
canteen_xml_feed(canteen.key)
|
||||||
except json.JSONDecodeError as e:
|
except json.JSONDecodeError:
|
||||||
pytest.xfail('JSON endpoint returned garbage (issue #6)')
|
pytest.xfail('JSON endpoint returned garbage (issue #6)')
|
||||||
raise e # Appease PyCharm inspection - xfail always raises
|
|
||||||
|
|||||||
Reference in New Issue
Block a user