aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/webdriver/tests/execute_script/collections.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/webdriver/tests/execute_script/collections.py')
-rw-r--r--tests/wpt/web-platform-tests/webdriver/tests/execute_script/collections.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/webdriver/tests/execute_script/collections.py b/tests/wpt/web-platform-tests/webdriver/tests/execute_script/collections.py
index f939713c806..be0b3a018c5 100644
--- a/tests/wpt/web-platform-tests/webdriver/tests/execute_script/collections.py
+++ b/tests/wpt/web-platform-tests/webdriver/tests/execute_script/collections.py
@@ -1,5 +1,7 @@
import os
+from six import text_type
+
from tests.support.asserts import assert_same_element, assert_success
from tests.support.inline import inline
@@ -45,7 +47,7 @@ def test_file_list(session, tmpdir):
for expected, actual in zip(files, value):
assert isinstance(actual, dict)
assert "name" in actual
- assert isinstance(actual["name"], basestring)
+ assert isinstance(actual["name"], text_type)
assert os.path.basename(str(expected)) == actual["name"]