Skip to content

Commit 928dbe6

Browse files
committed
flake8
1 parent 3326809 commit 928dbe6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

py/test/selenium/webdriver/common/visibility_tests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def testShouldNotBeAbleToClickOnAnElementThatIsNotDisplayed(driver, pages):
7171
try:
7272
element.click()
7373
assert 1 == 0, "should have thrown an exception"
74-
except (ElementNotVisibleException, ElementNotInteractableException) as e:
74+
except (ElementNotVisibleException, ElementNotInteractableException):
7575
pass
7676

7777

@@ -81,7 +81,7 @@ def testShouldNotBeAbleToToggleAnElementThatIsNotDisplayed(driver, pages):
8181
try:
8282
element.click()
8383
assert 1 == 0, "should have thrown an exception"
84-
except (ElementNotVisibleException, ElementNotInteractableException) as e:
84+
except (ElementNotVisibleException, ElementNotInteractableException):
8585
pass
8686

8787

@@ -91,7 +91,7 @@ def testShouldNotBeAbleToSelectAnElementThatIsNotDisplayed(driver, pages):
9191
try:
9292
element.click()
9393
assert 1 == 0, "should have thrown an exception"
94-
except (ElementNotVisibleException, ElementNotInteractableException) as e:
94+
except (ElementNotVisibleException, ElementNotInteractableException):
9595
pass
9696

9797

@@ -102,7 +102,7 @@ def testShouldNotBeAbleToTypeAnElementThatIsNotDisplayed(driver, pages):
102102
try:
103103
element.send_keys("You don't see me")
104104
assert 1 == 0, "should have thrown an exception"
105-
except (ElementNotVisibleException, ElementNotInteractableException) as e:
105+
except (ElementNotVisibleException, ElementNotInteractableException):
106106
pass
107107
assert element.get_attribute("value") != "You don't see me"
108108

0 commit comments

Comments
 (0)