mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Dont skip html transform test on CI
Arch now has html5-parser 4.10
This commit is contained in:
parent
4e727166f5
commit
5c67b4cf2f
1 changed files with 1 additions and 9 deletions
|
|
@ -559,15 +559,7 @@ def test_export_import(self):
|
|||
self.ae(erule, next(iter(import_rules(export_rules([rule])))))
|
||||
|
||||
def test_html_transform_actions(self):
|
||||
try:
|
||||
parse('a', fragment_context='div')
|
||||
except TypeError:
|
||||
import os
|
||||
is_ci = os.environ.get('CI', '').lower() == 'true'
|
||||
if is_ci:
|
||||
raise unittest.SkipTest('html5-parser too old on CI')
|
||||
else:
|
||||
raise
|
||||
parse('a', fragment_context='div')
|
||||
|
||||
def r(html='<p>hello'):
|
||||
return parse(namespace_elements=True, html=html)[1]
|
||||
|
|
|
|||
Loading…
Reference in a new issue