forked from orbit-oss/flask
Silence pytest warnings for exception propagation test
This commit is contained in:
parent
a7cf23a234
commit
eb41e7e417
1 changed files with 2 additions and 0 deletions
|
|
@ -1520,6 +1520,8 @@ def test_server_name_subdomain():
|
||||||
assert rv.data == b"subdomain"
|
assert rv.data == b"subdomain"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
|
||||||
|
@pytest.mark.filterwarnings("ignore::pytest.PytestUnhandledThreadExceptionWarning")
|
||||||
def test_exception_propagation(app, client):
|
def test_exception_propagation(app, client):
|
||||||
def apprunner(config_key):
|
def apprunner(config_key):
|
||||||
@app.route("/")
|
@app.route("/")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue