Apply patch.

This commit is contained in:
su-fang 2023-03-14 14:52:17 +08:00
parent fddd690a58
commit 412efbbfac
2 changed files with 6 additions and 10 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
python-werkzeug (2.2.2-ok2) yangtze; urgency=medium
* Apply patch.
-- sufang <sufang@kylinos.cn> Tue, 14 Mar 2023 14:51:23 +0800
python-werkzeug (2.2.2-ok1) yangtze; urgency=medium python-werkzeug (2.2.2-ok1) yangtze; urgency=medium
* Build for openkylin. * Build for openkylin.

View File

@ -125,16 +125,6 @@ def test_windows_get_args_for_reloading(monkeypatch, tmp_path):
assert rv == argv 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.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
@pytest.mark.dev_server @pytest.mark.dev_server
def test_wrong_protocol(standard_app): def test_wrong_protocol(standard_app):