Skip to content

Commit a6cfebf

Browse files
committed
Removed unecessary else conditions.
They only used "pass" inside their block so they are reduntant.
1 parent 7f10ac2 commit a6cfebf

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/noplugin/alerts/test_alerts.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ def test_library_example(self, tester_logout):
3939
flash_btn = self.find('#cb_cf_flash_btn')
4040
if flash_btn.is_enabled():
4141
assert False
42-
else:
43-
pass
4442

4543
def test_embeded_view(self, tester_logout):
4644
self.open('/embed/microview_test')
@@ -50,8 +48,6 @@ def test_embeded_view(self, tester_logout):
5048
microview_test = self.find('#microview_test')
5149
if microview_test.is_enabled():
5250
assert False
53-
else:
54-
pass
5551

5652
def test_walkthrough_page_2(self, tester_logout):
5753
self.open('/static/walkthrough/page/2')

0 commit comments

Comments
 (0)