We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ddd3b9 commit a75b120Copy full SHA for a75b120
html5lib/tests/test_treewalkers.py
@@ -75,7 +75,7 @@ def runTreewalkerEditTest(intext, expected, attrs_to_add, tree):
75
document = treeClass.get("adapter", lambda x: x)(document)
76
output = treewalkers.pprint(treeClass["walker"](document))
77
output = attrlist.sub(sortattrs, output)
78
- if not output in expected:
+ if output not in expected:
79
raise AssertionError("TreewalkerEditTest: %s\nExpected:\n%s\nReceived:\n%s" % (treeName, expected, output))
80
81
0 commit comments