aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test_extensions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_extensions.py b/tests/test_extensions.py
index 30b21bb..6d47e0e 100644
--- a/tests/test_extensions.py
+++ b/tests/test_extensions.py
@@ -209,7 +209,7 @@ class TestCodeHilite(TestCaseWithAssertStartsWith):
if self.has_pygments:
self.assertStartsWith(
'<div class="codehilite"><pre><span class="hll"',
- md.convert(text)
+ md.convert(text).replace('<span></span>', '')
)
else:
self.assertEqual(
@@ -330,7 +330,7 @@ line 3
if self.has_pygments:
self.assertStartsWith(
'<div class="codehilite"><pre><span class="hll"',
- md.convert(text)
+ md.convert(text).replace('<span></span>', '')
)
else:
self.assertEqual(
@@ -365,7 +365,7 @@ line 3
if self.has_pygments:
self.assertStartsWith(
'<div class="codehilite"><pre><span class="hll"',
- md.convert(text)
+ md.convert(text).replace('<span></span>', '')
)
else:
self.assertEqual(