File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2525from mypy .test .update_data import update_testcase_output
2626
2727try :
28- import lxml
28+ pass # import lxml #try just passing for now...
2929except ImportError :
3030 lxml_import_failure = True
3131
Original file line number Diff line number Diff line change 2020)
2121
2222try :
23- import lxml
23+ pass # import lxml #try just passing for now...
2424except ImportError :
2525 lxml_import_failure = True
2626
Original file line number Diff line number Diff line change 88from mypy .test .helpers import Suite , assert_equal
99
1010try :
11- import lxml
11+ import lxml . etree as etree
1212except ImportError :
1313 lxml_import_failure = True
1414
@@ -23,8 +23,6 @@ def test_get_line_rate(self) -> None:
2323
2424 @pytest .mark .skipif (lxml_import_failure , reason = "Cannot import lxml. Is it installed?" )
2525 def test_as_xml (self ) -> None :
26- import lxml .etree as etree
27-
2826 cobertura_package = CoberturaPackage ("foobar" )
2927 cobertura_package .covered_lines = 21
3028 cobertura_package .total_lines = 42
You can’t perform that action at this time.
0 commit comments