Skip to content
Myr

Merge pull request #3861 from greyli/fix-pytest

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

Silence pytest warnings for exception propagation test

authored by David Lord · committed by GitHub · parents 2fab8a3, da8865b · Browse files · 3 files+4 added−2 removed
This commit

State

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

Diff stats

3 files+4 added−2 removed

  • tests:+2 added−0 removed
  • other:+2 added−2 removed

3 files+4 added−2 removed

modified:requirements/dev.txt+1 added-1 removed
30 unmodified lines
31pre-commit==2.9.3 # via -r requirements/dev.in32py==1.9.0 # via pytest, tox33pygments==2.7.2 # via sphinx, sphinx-tabs34pyparsing==2.4.7 # via packaging35pytest==6.1.2 # via -r requirements/tests.in35pytest==6.2.1 # via -r requirements/tests.in36python-dotenv==0.15.0 # via -r requirements/tests.in37pytz==2020.1 # via babel38pyyaml==5.3.1 # via pre-commit39requests==2.24.0 # via sphinx
20 unmodified lines
modified:requirements/tests.txt+1 added-1 removed
10 unmodified lines
11packaging==20.8 # via pytest12pluggy==0.13.1 # via pytest13py==1.9.0 # via pytest14pyparsing==2.4.7 # via packaging15pytest==6.1.2 # via -r requirements/tests.in15pytest==6.2.1 # via -r requirements/tests.in16python-dotenv==0.15.0 # via -r requirements/tests.in17toml==0.10.2 # via pytest
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