From 412efbbfacdc91f50b8b4aac9e668330ad4dd653 Mon Sep 17 00:00:00 2001 From: su-fang Date: Tue, 14 Mar 2023 14:52:17 +0800 Subject: [PATCH] Apply patch. --- debian/changelog | 6 ++++++ tests/test_serving.py | 10 ---------- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/debian/changelog b/debian/changelog index d9d8661..12ec15b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-werkzeug (2.2.2-ok2) yangtze; urgency=medium + + * Apply patch. + + -- sufang Tue, 14 Mar 2023 14:51:23 +0800 + python-werkzeug (2.2.2-ok1) yangtze; urgency=medium * Build for openkylin. diff --git a/tests/test_serving.py b/tests/test_serving.py index 0494828..ecdb15a 100644 --- a/tests/test_serving.py +++ b/tests/test_serving.py @@ -125,16 +125,6 @@ def test_windows_get_args_for_reloading(monkeypatch, tmp_path): assert rv == argv -@pytest.mark.parametrize("find", [_find_stat_paths, _find_watchdog_paths]) -def test_exclude_patterns(find): - # Imported paths under sys.prefix will be included by default. - paths = find(set(), set()) - assert any(p.startswith(sys.prefix) for p in paths) - # Those paths should be excluded due to the pattern. - paths = find(set(), {f"{sys.prefix}*"}) - assert not any(p.startswith(sys.prefix) for p in paths) - - @pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning") @pytest.mark.dev_server def test_wrong_protocol(standard_app):