mirror of https://github.com/tiangolo/fastapi.git
Add pragma no cover on pass
This commit is contained in:
parent
cda6b37758
commit
dc01e95c1d
|
|
@ -85,7 +85,7 @@ def test_response_validation_error_includes_endpoint_context():
|
||||||
def test_websocket_validation_error_includes_endpoint_context():
|
def test_websocket_validation_error_includes_endpoint_context():
|
||||||
try:
|
try:
|
||||||
with client.websocket_connect("/ws/invalid"):
|
with client.websocket_connect("/ws/invalid"):
|
||||||
...
|
pass # pragma: no cover
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue