Skip to content

Commit

Permalink
[py] flake8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lmtierney committed Dec 6, 2017
1 parent 6b5fe89 commit 028aa74
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 13 deletions.
3 changes: 1 addition & 2 deletions py/test/selenium/webdriver/common/alerts_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
from selenium.common.exceptions import (
InvalidElementStateException,
NoAlertPresentException,
UnexpectedAlertPresentException,
WebDriverException)
UnexpectedAlertPresentException)


@pytest.fixture(autouse=True)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@

from selenium.webdriver.common.by import By
from selenium.common.exceptions import (
InvalidElementStateException,
InvalidSelectorException,
NoSuchElementException,
NoSuchWindowException,
WebDriverException)

# By.id positive
Expand Down
5 changes: 0 additions & 5 deletions py/test/selenium/webdriver/common/frame_switching_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@
# specific language governing permissions and limitations
# under the License.

try:
from http.client import BadStatusLine
except ImportError:
from httplib import BadStatusLine

import pytest

from selenium.common.exceptions import (
Expand Down
5 changes: 1 addition & 4 deletions py/test/selenium/webdriver/common/visibility_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@
# specific language governing permissions and limitations
# under the License.

import pytest

from selenium.common.exceptions import (
ElementNotVisibleException,
ElementNotInteractableException,
InvalidElementStateException)
ElementNotInteractableException)
from selenium.webdriver.common.by import By


Expand Down

0 comments on commit 028aa74

Please sign in to comment.