Skip to content
Myr

Silence pytest warnings for exception propagation test

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Grey Li · committed by Grey Li · parent a7cf23a · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • tests:+2 added−0 removed

1 file+2 added−0 removed

modified:tests/test_basic.py+2 added
1518 unmodified lines
1519 rv = client.get("/", "http://foo.dev.local")1520 assert rv.data == b"subdomain"152115221523@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")1524@pytest.mark.filterwarnings("ignore::pytest.PytestUnhandledThreadExceptionWarning")1525def test_exception_propagation(app, client):1526 def apprunner(config_key):1527 @app.route("/")1528 def index():
484 unmodified lines