Dont skip html transform test on CI

Arch now has html5-parser 4.10
This commit is contained in:
Kovid Goyal 2021-11-20 15:11:32 +05:30
parent 4e727166f5
commit 5c67b4cf2f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -559,15 +559,7 @@ def test(return_tests=False): # {{{
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]