Matej Cepl
3310d0f37d
of CVE-2023-24329 (bsc#1208471), the test test_url_parsing.TestScheme.test_not_a_scheme2 fails on all openSUSE/SLE Python interpreters. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=44
19 lines
585 B
Diff
19 lines
585 B
Diff
---
|
|
tests/test_url_parsing.py | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
Index: yarl-1.8.2/tests/test_url_parsing.py
|
|
===================================================================
|
|
--- yarl-1.8.2.orig/tests/test_url_parsing.py
|
|
+++ yarl-1.8.2/tests/test_url_parsing.py
|
|
@@ -72,6 +72,9 @@ class TestScheme:
|
|
assert u.query_string == ""
|
|
assert u.fragment == ""
|
|
|
|
+ @pytest.mark.skip(
|
|
+ reason="Fails on Pythons with fixed CVE-2023-24329"
|
|
+ )
|
|
def test_not_a_scheme2(self):
|
|
u = URL("37signals:book")
|
|
assert u.scheme == "37signals"
|