You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/genshi/files/genshi-0.7-fix_tests_failur...

26 lines
1.1 KiB

From 7f3552a9373fadd2d37ff592769ba6c65755eea5 Mon Sep 17 00:00:00 2001
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Thu, 8 Oct 2015 09:13:47 -0700
Subject: Skip test which still fails in Python 2.7.6.
Author: Barry Warsaw <barry@debian.org>, Arnaud Fontaine <arnau@debian.org>
Bug: http://genshi.edgewall.org/ticket/500
Patch-Name: fix_tests_failure_with_python27.patch
---
genshi/filters/tests/test_html.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/genshi/filters/tests/test_html.py b/genshi/filters/tests/test_html.py
index 0c6cfe1..a8cfa04 100644
--- a/genshi/filters/tests/test_html.py
+++ b/genshi/filters/tests/test_html.py
@@ -410,6 +410,7 @@ class HTMLSanitizerTestCase(unittest.TestCase):
html = HTML(u'&junk;')
self.assertEquals('&amp;junk;', (html | HTMLSanitizer()).render())
+ @unittest.skip('http://genshi.edgewall.org/ticket/500#comment:3')
def test_sanitize_remove_script_elem(self):
html = HTML(u'<script>alert("Foo")</script>')
self.assertEquals('', (html | HTMLSanitizer()).render())