+ if expected_count >= 180 and case['id'] in {'ctm/in/include-template.ctm', 'ctm/in/include-wildcard2.ctm'}:
+ assert actual != expected and case['status'] == 'fail'
+ if case['id'].endswith('include-template.ctm'):
+ assert b'<locator>include-template.sub#occtype</locator>' not in actual
+ assert b'<locator>include-template.sub#occtype</locator>' in expected
+ assert (len(actual), len(expected)) == (353, 401)
+ else:
+ assert b'<locator>include-wildcard2.sub#$__1.foo</locator>' in actual
+ assert b'<locator>include-wildcard2.sub#$__1.foo</locator>' not in expected
+ assert (len(actual), len(expected)) == (719, 669)
+ elif discrepancy: