Skip to content

Commit a75b120

Browse files
committed
Fix new flake8 warning ("not x in" v. "x not in")
1 parent 8ddd3b9 commit a75b120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html5lib/tests/test_treewalkers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def runTreewalkerEditTest(intext, expected, attrs_to_add, tree):
7575
document = treeClass.get("adapter", lambda x: x)(document)
7676
output = treewalkers.pprint(treeClass["walker"](document))
7777
output = attrlist.sub(sortattrs, output)
78-
if not output in expected:
78+
if output not in expected:
7979
raise AssertionError("TreewalkerEditTest: %s\nExpected:\n%s\nReceived:\n%s" % (treeName, expected, output))
8080

8181

0 commit comments

Comments
 (0)