summaryrefslogtreecommitdiff
path: root/dev-python/bleach/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-10 04:21:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-10 04:21:55 +0100
commit677b7ba5c317778df2ad7e70df94b9b7eec4adbc (patch)
tree6c418a1546fff5becab5d8b9ed6803323e7f316e /dev-python/bleach/files
parentfbda87924e6faa7a1919f1a2b4182490bde5ec5c (diff)
gentoo resync : 10.09.2021
Diffstat (limited to 'dev-python/bleach/files')
-rw-r--r--dev-python/bleach/files/bleach-4.1.0-py39.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/bleach/files/bleach-4.1.0-py39.patch b/dev-python/bleach/files/bleach-4.1.0-py39.patch
new file mode 100644
index 000000000000..8460be601a23
--- /dev/null
+++ b/dev-python/bleach/files/bleach-4.1.0-py39.patch
@@ -0,0 +1,36 @@
+diff --git a/tests/test_clean.py b/tests/test_clean.py
+index 8f816f9..2be6f7b 100644
+--- a/tests/test_clean.py
++++ b/tests/test_clean.py
+@@ -525,31 +525,16 @@ def test_attributes_list():
+ {"protocols": ["http"]},
+ '<a href="example.com">valid</a>',
+ ),
+- (
+- '<a href="example.com:8000">valid</a>',
+- {"protocols": ["http"]},
+- '<a href="example.com:8000">valid</a>',
+- ),
+ (
+ '<a href="localhost">valid</a>',
+ {"protocols": ["http"]},
+ '<a href="localhost">valid</a>',
+ ),
+- (
+- '<a href="localhost:8000">valid</a>',
+- {"protocols": ["http"]},
+- '<a href="localhost:8000">valid</a>',
+- ),
+ (
+ '<a href="192.168.100.100">valid</a>',
+ {"protocols": ["http"]},
+ '<a href="192.168.100.100">valid</a>',
+ ),
+- (
+- '<a href="192.168.100.100:8000">valid</a>',
+- {"protocols": ["http"]},
+- '<a href="192.168.100.100:8000">valid</a>',
+- ),
+ pytest.param(
+ *(
+ '<a href="192.168.100.100:8000/foo#bar">valid</a>',