Skip to content

Commit c535cc7

Browse files
Remove unnecessary else after break to (satisfy pylint)
1 parent f275b73 commit c535cc7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/test_modules.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,9 +425,8 @@ def test_supervisor(host, supervisorctl_path, supervisorctl_conf):
425425
)
426426
if service.status == "RUNNING":
427427
break
428-
else:
429-
assert service.status == "STARTING"
430-
time.sleep(0.5)
428+
assert service.status == "STARTING"
429+
time.sleep(0.5)
431430
else:
432431
raise RuntimeError("No running tail in supervisor")
433432

0 commit comments

Comments
 (0)