Skip to content

Commit 1c59a26

Browse files
committed
Use 'if not in' over 'not if in'
1 parent 5d6bea0 commit 1c59a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/tests/test_client_only_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def find_covered_server_endpoints() -> List[str]:
5959

6060
driver.close()
6161

62-
return [ep["name"] for ep in all_server_endpoints if not ep["name"] in IGNORED_SERVER_ENDPOINTS]
62+
return [ep["name"] for ep in all_server_endpoints if ep["name"] not in IGNORED_SERVER_ENDPOINTS]
6363

6464

6565
def check_rst_files(endpoints: List[str]) -> None:

0 commit comments

Comments
 (0)