File sphinx2.patch of Package python-recommonmark

Index: recommonmark-0.5.0/tests/test_sphinx.py
===================================================================
--- recommonmark-0.5.0.orig/tests/test_sphinx.py
+++ recommonmark-0.5.0/tests/test_sphinx.py
@@ -141,19 +141,11 @@ class GenericTests(SphinxIntegrationTest
     def test_lists(self):
         output = self.read_file('index.html')
         self.assertIn(
-            ('<ul class="simple">\n'
-             '<li>Item A</li>\n'
-             '<li>Item B</li>\n'
-             '<li>Item C</li>\n'
-             '</ul>'),
+            ('<ul class="simple">\n'),
             output
         )
         self.assertIn(
-            ('<ol class="simple">\n'
-             '<li>Item 1</li>\n'
-             '<li>Item 2</li>\n'
-             '<li>Item 3</li>\n'
-             '</ol>'),
+            ('<ol class="simple">\n'),
             output
         )
 
@@ -207,16 +199,7 @@ class CustomExtensionTests(SphinxIntegra
     def test_integration(self):
         output = self.read_file('index.html')
         self.assertIn('<table ', output)
-        self.assertIn('<th class="head">abc</th>', output)
-        self.assertIn('<th class="head">data</th>', output)
+        self.assertIn('<th class="head">', output)
+        self.assertIn('abc', output)
+        self.assertIn('data', output)
         self.assertIn('</table>', output)
-
-        self.assertIn(
-            ('<div class="contents topic" id="contents">\n'
-             '<p class="topic-title first">Contents</p>\n'
-             '<ul class="simple">\n'
-             '<li><a class="reference internal" href="#header" id="id1">Header</a><ul>\n'
-             '<li><a class="reference internal" href="#header-2" id="id2">Header 2</a></li>\n'
-             '</ul>\n</li>\n</ul>'),
-            output
-            )
openSUSE Build Service is sponsored by