Skip to content

Commit fbb5ae0

Browse files
committed
Fix new flake8 warning ("not x in" v. "x not in")
1 parent cef0b11 commit fbb5ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/tests/test_treewalkers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def runTreewalkerEditTest(intext, expected, attrs_to_add, tree):
6969
document = treeClass.get("adapter", lambda x: x)(document)
7070
output = treewalkers.pprint(treeClass["walker"](document))
7171
output = attrlist.sub(sortattrs, output)
72-
if not output in expected:
72+
if output not in expected:
7373
raise AssertionError("TreewalkerEditTest: %s\nExpected:\n%s\nReceived:\n%s" % (treeName, expected, output))
7474

7575

0 commit comments

Comments
 (0)