rebuild for 10.11+
This commit is contained in:
parent
d989eff547
commit
901b731582
234 changed files with 1522 additions and 927 deletions
|
|
@ -209,13 +209,12 @@ class LXMLOutputChecker(OutputChecker):
|
|||
else:
|
||||
return value
|
||||
html = parser is html_fromstring
|
||||
diff_parts = []
|
||||
diff_parts.append('Expected:')
|
||||
diff_parts.append(self.format_doc(want_doc, html, 2))
|
||||
diff_parts.append('Got:')
|
||||
diff_parts.append(self.format_doc(got_doc, html, 2))
|
||||
diff_parts.append('Diff:')
|
||||
diff_parts.append(self.collect_diff(want_doc, got_doc, html, 2))
|
||||
diff_parts = ['Expected:',
|
||||
self.format_doc(want_doc, html, 2),
|
||||
'Got:',
|
||||
self.format_doc(got_doc, html, 2),
|
||||
'Diff:',
|
||||
self.collect_diff(want_doc, got_doc, html, 2)]
|
||||
return '\n'.join(diff_parts)
|
||||
|
||||
def html_empty_tag(self, el, html=True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue