Skip to content

Commit 9bf0305

Browse files
committed
Also suppress 'style' example when lxml.etree can't be imported (suppressing test failure on macOS ARM when lxml installs but is broken).
1 parent 4c3167e commit 9bf0305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313

1414
try:
15-
importlib.import_module('lxml')
15+
importlib.import_module('lxml.etree')
1616
except ImportError:
1717
collect_ignore += ['examples/style.py']
1818

0 commit comments

Comments
 (0)