aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/MarkupSafe/py3/tests/test_markupsafe.py
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-01 17:29:54 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-04-01 17:29:54 +0300
commitfb2415cc585e4a674a63b8bacf75a3059f27a6a0 (patch)
tree50a296c2922f340bd9962908b1ff6dd3cecf8143 /contrib/python/MarkupSafe/py3/tests/test_markupsafe.py
parent3d23aea57287cebf25f327f41cad3624ec33e0c6 (diff)
downloadydb-fb2415cc585e4a674a63b8bacf75a3059f27a6a0.tar.gz
intermediate changes
ref:56a8fc047a6219a99d08b5290f538eadde605502
Diffstat (limited to 'contrib/python/MarkupSafe/py3/tests/test_markupsafe.py')
-rw-r--r--contrib/python/MarkupSafe/py3/tests/test_markupsafe.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/python/MarkupSafe/py3/tests/test_markupsafe.py b/contrib/python/MarkupSafe/py3/tests/test_markupsafe.py
index 2f13885406..236f35e7b3 100644
--- a/contrib/python/MarkupSafe/py3/tests/test_markupsafe.py
+++ b/contrib/python/MarkupSafe/py3/tests/test_markupsafe.py
@@ -69,7 +69,15 @@ def test_dict_interpol():
def test_escaping(escape):
assert escape("\"<>&'") == "&#34;&lt;&gt;&amp;&#39;"
- assert Markup("<em>Foo &amp; Bar</em>").striptags() == "Foo & Bar"
+ assert (
+ Markup(
+ "<!-- outer comment -->"
+ "<em>Foo &amp; Bar"
+ "<!-- inner comment about <em> -->"
+ "</em>"
+ ).striptags()
+ == "Foo & Bar"
+ )
def test_unescape():