Skip to content

Commit 927a598

Browse files
committed
tests: Keep linter happy
Signed-off-by: Jussi Kukkonen <jkukkonen@google.com>
1 parent a7feb53 commit 927a598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def wait_for_server(
115115
pass
116116
except OSError as e:
117117
# ECONNREFUSED is expected while the server is not started
118-
if e.errno not in [errno.ECONNREFUSED]:
118+
if e.errno != errno.ECONNREFUSED:
119119
logger.warning(
120120
"Unexpected error while waiting for server: %s", str(e)
121121
)

0 commit comments

Comments
 (0)