Skip to content

Commit 3ff6bd0

Browse files
committed
Remove not used imports
1 parent f2093f2 commit 3ff6bd0

File tree

6 files changed

+4
-7
lines changed

6 files changed

+4
-7
lines changed

atest/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
3535
run.py chrome
3636
run.py headlesschrome
37-
run.py --interpreter c:\Python38\python.exe firefox --suite javascript
37+
run.py --interpreter c:\\Python38\\python.exe firefox --suite javascript
3838
run.py headlesschrome --nounit --grid true
3939
"""
4040

src/SeleniumLibrary/keywords/cookie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from typing import Union, Optional
1818

1919
from robot.libraries.DateTime import convert_date
20-
from robot.utils import DotDict, is_truthy
20+
from robot.utils import DotDict
2121

2222
from SeleniumLibrary.base import LibraryComponent, keyword
2323
from SeleniumLibrary.errors import CookieNotFound

src/SeleniumLibrary/keywords/screenshot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
import os
17-
from typing import Union, Optional
17+
from typing import Union
1818

1919
from robot.utils import get_link_path
2020
from selenium.webdriver.remote.webelement import WebElement

utest/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
import shutil
55
import sys
6-
from os.path import abspath, dirname, join
6+
from os.path import join
77
from pathlib import Path
88

99
from pytest import main as py_main

utest/test/keywords/test_selenium_options_parser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import inspect
21
import os
32
import unittest
43

utest/test/keywords/test_webdrivercreator_executable_path.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import inspect
21
import os
3-
import unittest
42

53
import pytest
64
from mockito import mock, unstub, when, ANY

0 commit comments

Comments
 (0)